Top

Discussion

What is the output?

#include
int main()
{
   int n;
   for (n = 9; n!=0; n--)
     printf("n = %d", n--);
   return 0;
}

 

  • A.9 7 5 3 1
  • B.9 8 7 6 5 4 3 2 1
  • C.Infinite Loop
  • D.9 7 5 3

Answer: C

No answer description available for this question.
 

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

Post your comment