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 is the difference between cin.read() and cin.getline()?
Is c++ high level programming language?
What do you understand by pure virtual function? Write about its use?
Why is c++ a mid-level programming language?
Why main function is special in c++?
Explain the different access specifiers for the class member in c++.
What is const in c++?
What is an iterator?
What is an inline function in c++?
What are the three forms of cin.get() and what are their differences?
How can you specify a class in C++?
Why is main an int?
How does java differ from c and c++?
What are built-in functions? What is the syntax for the definition?
What is the full form of dos?