aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming Languages: C, Java, .NET/WCF & Regex
  • What is the output ? main() { int i=8; printf("%d%d%d%d",...
Multiple choice technology programming languages

What is the output ? main() { int i=8; printf("%d%d%d%d", i, i++, ++i, i); }

  1. 881010

  2. 89910

  3. 891010

  4. 10998

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • Output???? #include int main() { int i=43; printf("%d\n",printf("%d",printf("%d",i))); return 0;}
  • What is the output of the following program ? main() { int a=10; { int a=100; { int a=1000; printf("%d", a)...
  • What would be the output of the following? main() { int val1=1234; int val2=01234; printf(%d %d,val1,val2); }
  • What will be the output of the following program : void main() { int i, n =10; for (i=1; i
  • The following program prints main() { int i = 5; i = (++i) / (i ++); printf(“%d”,i); }
  • Determine output : main(){ int i=012; int j=046; int k=056; printf("i=%d",i); printf("j=%d",j); printf("k=%...
  • The output of the following program will be main() { int a = 1, b=2, c=3; printf(“%d”, a+=(a+=3,5,a)); }
  • Guess the Output? void main() { int i=5; i+=i*=i-=i/i; printf("%dn",i); }
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy