How many ways are there to initialize int with a constant?
Correct Answer: 2
Explanation:
There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.