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
Why c++ is created?
What is the basic difference between C and C++?
What is an inclusion guard?
What is a tree in c++?
What is const pointer and const reference?
What is pointer to array in c++?
Explain the use of virtual destructor?
What is constructor in C++?
What is class invariant in c++?
Explain rtti.
Why struct is used in c++?
Define a nested class.
What is the main purpose of c++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
Explain what is oop?