What will be the final value of j in the following C code? [code] #include <stdio.h> int main() { int i = 10, j = 0;

What will be the final value of j in the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int i = 10, j = 0;
        if (i || (j = i + 10))
            //do something
            ;
    }
A. 0
B. 20
C. Compile time error
D. Depends on language standard
 

Tìm kiếm

Back
Top