All you initialization involve
variables (insted of
constants). Namely
Quote:
int high{ 100 }; // #1
int low{ 66 }; // #2
Intialize two variables with constant (literal) values.
Quote:
const int* score{ &high }; // #3
Initialize a variable (pointer) with the address of another variable. You cannot change the original variable value via the pointer, because of the
const
in the declaration.
If you really want
constants (instead of
variables) then you have to write something similar to:
const int High{ 100 };
const int Low{ 66 };
const int * const PtrScore { &High };
I suggest you to try
cdecl: C gibberish ↔ English[
^].