Answers for "what are pointer constants"

C++
-1

pointer to constant

//the data(value) pointed by the pointer is constant 
	const int *some_ptr {&number_1};
//the adress pointed by the pointer is constant 
  	int *const some_ptr {&number1} ;
Posted by: Guest on December-20-2020

Browse Popular Code Answers by Language