+ 2
I can't define constant char pointers
I want to define char* const ptr; But I am getting errors. Am I doing something wrong?
2 Respostas
+ 4
did you try
try *ptr?
C++?
+ 1
Thank you programmer and hacker. The truth is char const *ptr;
I want to define char* const ptr; But I am getting errors. Am I doing something wrong?