0
What is pointer to constant and constant to pointer?
Where it is used? Please give example.
1 Resposta
0
pointer to constant is just like assigning pointer to any variable.i.e your storing the address of the constant.But when u say constant to pointer then your making the pointer constant.i,e then the value stored in the pointer won't change throughout your program.