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 expression parser in c++
Which function cannot be overloaded c++?
What is set in c++?
Can member data be public?
How are pointers type-cast?
Explain the operation of overloading of an assignment operator.
How should runtime errors be handled in c++?
Out of fgets() and gets() which function is safe to use and why?
What is virtual destructor? What is its use?
Explain one-definition rule (odr).
Difference between overloading vs. Overriding
Can I learn c++ without c?
How many ways can a variable be initialized into in C++?
What is #include iostream h in c++?
What are containers in c++?