Top

Discussion

What will be the output of the program?

#include
int main()
{
    int i=0;
    for(; i<=5; i++);
        printf("%d", i);
    return 0;
}

 

  • A.0, 1, 2, 3, 4, 5
  • B.5
  • C.1, 2, 3, 4
  • D.6

Answer: D

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment