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
What is difference between n and endl in c++?
Describe Trees using C++ with an example.
In what situations do you have to use initialization list rather than assignment in constructors?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
What is c++ w3school?
Specify different types of decision control statements?
Refer to a name of class or function that is defined within a namespace?
Write about the scope resolution operator?
What is #include math h in c++?
How do I write a c++ program?
What is pointer -to-members in C++? Give their syntax?
What is difference between class and structure in c++?
Do vectors start at 0?
What is virtual base class uses?
Write a program which employs Recursion