What will be the output of the following C code? [code] #include <stdio.h> int main() { int x = 1; if (x >

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int x = 1;
        if (x > 0)
            printf("inside if\n");
        else if (x > 0)
            printf("inside elseif\n");
    }
A. inside if
B. inside elseif
C.
inside if
inside elseif
D. compile time error
 

Tìm kiếm

Back
Top