What will be the output of the following C code? [code] #include <stdio.h> int main() { int i = 0; for (i++;

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int i = 0;
        for (i++; i == 1; i = 2)
            printf("In for loop ");
            printf("After loop\n");
    }
A. In for loop after loop
B. After loop
C. Compile time error
D. Undefined behaviour
 

Tìm kiếm

Back
Top