const char *
char * const
What is the differnce between the above two?
Answer Posted / beula
const char * is the pointer to a consant variable.
char * constant is a constant pointer to a char.
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why do we need constructors in c++?
Which ide is best for c++?
What are virtual constructors/destructors?
Can a function take variable length arguments, if yes, how?
Is C++ case sensitive a) False b) Depends on implementation c) True
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
Why do we use classes in c++?
What are the two types of polymorphism?
What is command line arguments in C++? What are its uses? Where we have to use this?
What is a down cast?
Define the process of error-handling in case of constructor failure?
How can I learn c++ easily?
What is the difference between a template and a macro?
What is the this pointer?
How does work in c++?