Check what you learned about variables, initialization and std::cin.

  1. 1. Which of these are valid variable names?

  2. 2. What value does x hold after int x{};?

  3. 3. What happens with int x = 10.5;?

  4. 4. What happens with int x{10.5};?

  5. 5. Which keyword makes a variable impossible to change after it is initialized?

  6. 6. Which line reads a number from the user into age?

  7. 7. After int age{10};, which line changes age to 20?