const char *
char * const
What is the differnce between the above two?
Answer Posted / beula
const char * is the pointer to a consant variable.
char * constant is a constant pointer to a char.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Which format specifier is used for printing a pointer value?
What is constructor c++?
You want to link a c++ program to c functions. How would you do it?
What is a v-table?
What are the basics of local (auto) objects?
Is c++ built on c?
What is #include sstream?
What is the real purpose of class – to export data?
What is stream and its types in c++?
When can I use a forward declaration?
Can recursive program be written in C++?
Is there a c++ certification?
What are punctuators in c++?
What do you mean by vtable and vptr in c++?
What is null and void pointer?