What will be the output of the following C code? [code] #include <stdio.h> int main() { printf("%d ", 1); l1:l2:

Thê Hy

New member
What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        printf("%d ", 1);
        l1:l2:
        printf("%d ", 2);
        printf("%d\n", 3);
    }
A. Compilation error
B. 1 2 3
C. 1 2
D. 1 3
 

Tìm kiếm

Back
Top