In C++, which operator has the highest precedence among the following groups?
Select an option, then click Submit answer.
- ○ postfix increment operator ++
- ○ unary minus operator -
- ○ assignment operator = simple
- ○ multiplication operator * binary
Loading demo links...
Showing 1–12 of 12 questions
In C++, which operator has the highest precedence among the following groups?
Select an option, then click Submit answer.
What is the result type promotion when an int value is combined with a double value using operator +?
Select an option, then click Submit answer.
Which literal denotes an octal integer value in C++?
Select an option, then click Submit answer.
Which expression correctly returns the number of elements in a built-in array named data using sizeof?
Select an option, then click Submit answer.
What does the std::string member function size() return for the string "C++"?
Select an option, then click Submit answer.
Which declaration creates an enumeration type in C++?
Select an option, then click Submit answer.
Which TWO statements correctly describe integer literals in C++? Select two.
Select all that apply, then click Submit answer.
Which TWO are valid uses of the const declaration modifier? Select two.
Select all that apply, then click Submit answer.
Which TWO operators are relational operators in C++? Select two.
Select all that apply, then click Submit answer.
DRAG DROP
Match each literal form to its numeral system.
Items to match: 0x2A literal form, 010 literal form, 0b101 literal form, 42 literal form.

Answer is in the explanation below.
CORRECT TEXT
The ______ operator returns the size in bytes of a type or expression.
Answer is in the explanation below.
DRAG DROP
Match each control keyword to its primary effect.
Items to match: break keyword effect, continue keyword effect, return keyword effect, throw keyword effect.

Answer is in the explanation below.