for(i=1;i>0;i++);
printf("i=%d",i);
what will be the answer????
Answer Posted / ankit shekhavat
after for lop,there is a semicolon.it means loop terminate
here..condition inside the loop will always true.so it will
be an infinite loop..nothing will be printed on the screen.
for next statement there will be printed any garbage value...
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
what is the role you expect in software industry?
What is the use of printf() and scanf() functions?
Explain the ternary tree?
what is the diffrenet bettwen HTTP and internet protocol
When c language was developed?
What are qualifiers and modifiers c?
What is the difference between arrays and pointers?
Explain pointer. What are function pointers in C?
What is the difference between char array and char pointer?
What is s in c?
Write a program to show the change in position of a cursor using c
Is c language still used?
What does c mean in basketball?
When can a far pointer be used?
What is cohesion in c?