- Control Instructions - General Questions
- Control Instructions - Find Output of Program
- Control Instructions - Point Out Errors
- Control Instructions - Point Out Correct Statements
- Control Instructions - True / False Questions
- Control Instructions - Yes / No Questions


Control Instructions - Programming
Q1: What will be the output of the program?
#include<stdio.h>
int main()
{
int x=1, y=1;
for(; y; printf('%d %d\n', x, y))
{
y = x++ <= 5;
}
printf('\n');
return 0;
}
A 2 1 3 1 4 1 5 1 6 1 7 0 B 2 1 3 1 4 1 5 1 6 1 C 2 1 3 1 4 1 5 1 D 2 2 3 3 4 4 5 5 ANS:A - 2 1 No answer description is available. Let's discuss. |


For help Students Orientation
Mcqs Questions
One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.