Multiple ChoiceIntermediate 45s
decltype of a parenthesized id-expression
Given an lvalue int x, what is decltype((x)) compared to decltype(x)?
Options
- 1Both are int
- 2decltype((x)) is int while decltype(x) is int&
- 3decltype((x)) is int& while decltype(x) is int
- 4Both are int&
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.