aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Programming Languages: Creators and Concepts
  • 3.What is the output?main() { int x=5; printf(“%d,%d,%dn”...
Multiple choice technology programming languages

3.What is the output?main() { int x=5; printf(“%d,%d,%dn”,x,x< <2,x>>2); }

  1. 5,1,20

  2. 5,10,20

  3. 5,20,1

  4. 5,15,25

Reveal answer Fill a bubble to check yourself
B Correct answer

Keep practicing — related questions

  • What will be printed as the result of the operation below: main() { int x=5; printf(“%d,%d,%dn”,x,x< <2,x>>...
  • what is the output? main() { int x=20,y=35; x=y++ + x++; y= ++y + ++x; printf(“%d \t %dn”,x,y); }
  • What would be the output of the following? main() { int y,x=5; y=++x - ++x; printf("%d%d",x,y); }
  • 1)main() { int i = 5; printf(“%d %d %d %d %d”,i++,i--,++i,--i,i); }
  • main() { int x=10, y=15; x = x++; y = ++y; printf(“%d %dn”,x,y); }
  • Output? main() { int x=20,y=35; x=y++ + x++; y= ++y + ++x; printf(“%d%dn”,x,y); }
  • int x = 0; for (x=1; x<4; x++); printf(x=%dn, x); What will be the output of the sample code given above?
  • 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