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 is c++ is better than c?
What is the meaning of c++?
What is the default width for ouputting a long integer using the insertion operator?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
Write about the scope resolution operator?
What is the difference between structures and unions?
How can you say that a template is better than a base class?
What are the benefits of operator overloading?
What is scope in c++ with example?
How do we implement inheritance in c++?
What is public, protected, private in c++?
How to implement is-a and has-a class relationships?
Explain the volatile and mutable keywords.
What does iomanip mean in c++?
What operator is used to access a struct through a pointer a) >> b) -> c) *