Question

[C++11]: Which of the following statements initializes the unsigned int variable counter to 10?
a. unsigned int counter = 10;
b. unsigned int counter = {10};
c. unsigned int counter{10};
d. All of the above.

Answer

This answer is hidden. It contains 16 characters.