Saturday, May 22, 2010

C++ i need some body to help?

What is a constant pointer?


Declare an instance for it.





What about aa pointer constant?


Declare an instance for it.

C++ i need some body to help?
const int x;


int *constant_pointer = %26amp;x; // pointer to a const





const int* pointer_constant; // a pointer that remains constant
Reply:const char *p;


char const *p; p is const pointer

forsythia

No comments:

Post a Comment