+ 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?

22nd Sep 2017, 9:44 PM
Yusuf
Yusuf - avatar
2 Respostas
+ 4
did you try try *ptr? C++?
22nd Sep 2017, 10:20 PM
Manual
Manual - avatar
+ 1
Thank you programmer and hacker. The truth is char const *ptr;
23rd Sep 2017, 6:51 AM
Yusuf
Yusuf - avatar