+ const int* var = &v + int const* var = &v + const int *const var = &v
const int* var = &v; // var is a pointer to const int, it is initialized with v address int const* var = &v; // var is a pointer to const int, it is initialized with v address const int *const var = &v; // var is a const pointer to const int, initialized with v address
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)