const char *
char * const
What is the differnce between the above two?
Answer Posted / atreyee
char * const, the pointer is declared as constant.
const char *, the pointer is not constant.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Which sort does c++ use?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
What is the return value of the insertion operator?
When are exception objects created?
What is namespace & why it is used in c++?
Write a program to find the Factorial of a number
What is the purpose of the "delete" operator?
Show the declaration for a pointer to function returning long and taking an integer parameter.
What are the advantages of c++ over c?
What is c++ runtime?
Briefly describe a B+ tree. What is bulk loading in it?
What are put and get pointers?
Explain the register storage classes in c++.
Does dev c++ support c++ 11?
What is the use of endl?