Hi there
I program in Linux, C++.
If you declare a char pointer in C++ , you would say
And if you want to allocate memory for that pointer you would say
Now, if I want to declare a double pointer
How would you allocate memory for such a double pointer?
I program in Linux, C++.
If you declare a char pointer in C++ , you would say
Code:
char *pointer;
Code:
pointer = new char[50];
Code:
char **pointer;
Comment