aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C and Java Programming Fundamentals
  • What will be the output of the following program : void m...
Multiple choice technology programming languages

What will be the output of the following program : void main() { int i, n =10; for (i=1; i

  1. 84

  2. 840

  3. 852

  4. 864

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The loop condition i

Keep practicing — related questions

  • What will be the output of the following: void main() { int i; for(i=1;i<=4;i++) { printf("%d",i); continue...
  • What is the output of the following program ? main() { int a=10; { int a=100; { int a=1000; printf("%d", a)...
  • What will be the output of the following program : void main() { printf("%d",!(100==100)+1); }
  • What is the output ? main() { int i=8; printf("%d%d%d%d", i, i++, ++i, i); }
  • What would be the output of the following? void main() { int a=10,b; b=a++ + ++a; printf("%d %d %d %d",b,a+...
  • What will be the output of the following program : void main() { int i,j; for (i=1; i<=3; i++) for (j=1; j<...
  • What would be the output of the following? main() { int val1=1234; int val2=01234; printf(%d %d,val1,val2); }
  • The output of the following program will be main() { int a = 1, b=2, c=3; printf(“%d”, a+=(a+=3,5,a)); }
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Output Evaluation (1721 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy