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
What are the unique features of C++.
Why do we use classes in programming?
Is c# written in c++?
What is c++ coding?
What is stack unwinding?
What is c++ prototype?
What is the use of register keyword with the variables?
How do you add an element to a set in c++?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
What are c++ variables?
how to explain our contribution in the project?
What is abstraction in c++ with example?
Explain polymorphism?
What is an undefined behavior and sequence points
What is an orthogonal base class in c++?