Cond-comma-ops quiz (C for Everyone: Programming Fundamentals - Week 3 Coursera)
Réussis tes devoirs et examens dès maintenant avec Quizwiz!
Assume i = 1; j = 2; n = (i < j);
n is 1
Assume i = 1; j = 2; n = i, j+1;
n is 1
Assume i = 1; j = 2; n = (i, j);
n is 2
Assume i = 1; j = 2; n = (i == j)? 4:(i < j)?3:5;
n is 3
Assume i = 1; j = 2; n = (i < j)? 4: 6;
n is 4