const char *
char * const
What is the differnce between the above two?
Answer Posted / karthik natarajan
const char * makes the data constant
char * constant makes the pointer constant
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
Can a Structure contain a Pointer to itself?
Is swift faster than go?
What is static in c++?
Do you need a main function in c++?
What is an adjust field format flag?
What is copy constructor? Can we make copy constructor private in c++?
How do I use turbo c++?
What is lvalue?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What is general form of pure virtual function? Explain?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is #include iostream?
Is ca high or low level language?
Define a nested class. Explain how it can be useful.
what are the characteristics of Class Members in C++?