The following loop
while(printf("%d", printf("az")))
printf("by");
A. | prints azbybvbvbv... |
B. | an execution error |
C. | prints azbyazbyazbyazby... |
D. | none of the above |
Answer : D Explanation : printf("az") prints az and returns a value 2 (since it printed two characters). So. the condition results in the printing of az2. Since it always returns 2, it is an infinite loop. The output will be az2byaz2by. . . |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |