Correct Answer: Y=x?a:b;
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
What is the meaning of the two parts specified between parentheses in a range-based for loop, separated by a colon?
Which STL class is the best fit for implementing a collection of data that is always ordered so that the pop operation always gets the greatest of the elements? Suppose you are interested only in push and pop operations.
What is the meaning of the three sections specified between parentheses in a for loop separated by semicolons?
What is true about the variable named ptr? void *ptr;
What is the output of this code? int c=3; char d='A'; std::printf("c is %d and d is %c",c,d);
Which C++ keyword allows the compiler to determine the type of a variable by the value used to initialized it?
Thinking about data members and addressable memory, how are a struct, class and union different?
What is the data type for the following: L'Hello World'?
Which class(es) can be used to perform both input and output on files in C++?
Which rules apply to operator overloading in C++?