1.

Which of the following is the correct output for the program given below ?

#include <studio.h>
int main()
{
char i = 0;
for (i<=5 && i>= -1; ++i; i>0)
printf ("%d n",i);
printf ("% n");
return 0;
}

A. 1 2 3 ..... 126 127 -128 - 127 .... -2 -1
B. Expression syntax error
C. No Output
D. 0 1 2 3 4 5
Answer» B. Expression syntax error


Discussion

No Comment Found

Related MCQs