What will be the output of the following C code? [code] #include <stdio.h> void main() { int k = 8; int m =

What will be the output of the following C code?
Code:
    #include <stdio.h>
    void main()
    {
        int k = 8;
        int m = 7;
        k < m ? k++ : m = k;
        printf("%d", k);
    }
A. 7
B. 8
C. Compile time error
D. Run time error
 

Tìm kiếm

Back
Top