1.

Which of the following statements about the execution of the segment of ‘C’ language code given below is TRUE?#include void main () { int x=1; for( ; ; ) printf(“%d”, x); }

A. It will terminate without printing any value of x
B. It will print the value of x exactly once
C. It will go to infinite loop and it will never print the value of x
D. It will go to infinite loop and it will keep on printing the value of x as 1.
Answer» E.


Discussion

No Comment Found