0
what would be the output?
main( ) { int k = 35 ; printf ( "\n%d %d %d", k == 35, k = 50, k > 40 ) ; return 0; }
2 odpowiedzi
+ 1
Output is compiler dependent. No definite answer to your question, if you test run the code in Code Playground you will see a sequence point warning because the <k> variable is accessed and modified in a single sequence of execution point.
0
1 50 0
Because k==35 is true which is typed 1 in c
And 50
And k>40 is false which typed 0 in c
And new line firstly but I can't type it