Ques 1 Loop
What is the output of the following code?
int main() { int x=3,y=2; while(x+y-1) { printf("%d",x=x+y); } return 0; }
Ques 2 Loop
What is the output of the following code?
int main() { int i,j=0; for(i=0;i<5;++i,i++,j++) { printf("%d %d ",i,j); } return 0; }
Ques 3 Loop
What is the output of the following code?
int main() { int i; for(i=0;i<=4,i++); printf("%d",i); return 0; }
Ques 4 Loop
What is the output of the following code?
#include<sdtio.h> int main() { while() { printf("SmallCode!"); } }
Ques 5 Loop
What is the output of the following code?
#include<sdtio.h> int main() { int a=6,b=2; while(a<=6 && b<=4) { printf("SmallCode!"); } }
Ques 6 Loop
Which of the following keyword are used for iteration in C Programming?