Answers for "Which of the following is conditional operator?"

C++
0

c++ ternary statement

x = condition ? expression1 : expression2

// Example:
double x = 1 > 0 ? 10 : 20; // put any value
Posted by: Guest on December-09-2020

Code answers related to "Which of the following is conditional operator?"

Browse Popular Code Answers by Language