Programming Languages C Objective
Mar 07, 2013

What will be output of following c code?

#include<stdio.h>

int main(){

    for(;;) {

         printf("%d ",10);

    }

    return 0;

}

Choose the correct answer:
A) 10
B) Infinite loop
C) d10
D) 11
Detailed Explanation

In for loop each part is optional

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback