aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science (GATE Exam) 2012 - Previous Question Paper Solution
  • ![](https://i.imgur.com/ergcqHQ.png) What output will be ...
Multiple choice

What output will be generated by the given code segment?

  1. 3 1 4 1 4 2

  2. 4 2 6 1 6 1

  3. 4 2 6 2 2 0

  4. 3 1 5 2 5 2

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

Keep practicing — related questions

  • ![](https://i.imgur.com/rxvhfel.png) What output will be generated by the given code segment if: Line 1 is ...
  • What will be the output of the following code segment? #include #include void main() { int a[]={0,1,2,3,4,5...
  • What will be the output of the following set of codes after execution? void main() { printf(“%d %d %d ”,56,...
  • What will be the output of the following set of code after execution? void main() { printf(“%d %d”,sizeof('...
  • Consider the program below: ![](https://i.imgur.com/qTOHLPl.png) The value printed is
  • What is the output of the following code fragment? int i = 0, j = 3; while(i++<5|| j--) printf(“Hi”);
  • What will be the output of the following set of code after execution? void main() { printf(“ABC +CDE”); }
  • What is the output of the following code fragment? int i = 10; if(i = printf(“%d”, i)) { printf(“%d ”, i); }
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy