400 Câu hỏi trắc nghiệm lập trình C/C++ có đáp án (Phần 4)

Which of the following is the correct usage of condition operators used in C?

1/50

Which of the following is the correct usage of condition operators used in C?

a>b? c = 20 : c = 21;

a>b? c = 20;

max = a>b? a>c?a:c:b>c?b:c;

return (a>b)?(a:b);

Giải thích

Chọn C