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 are the decision making statements in C++? Explain if statement with an example?
What is else if syntax?
What are the sizes and ranges of the basic c++ data types?
What is a pointer with example?
How do you declare A pointer to a function which receives nothing and returns nothing
Is c# written in c++?
Comment on local and global scope of a variable.
Which function should be used to free the memory allocated by calloc()?
How does c++ sort work?
Is python written in c or c++?
How do you master coding?
What is the basic of c++?
How should runtime errors be handled in c++?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
Why pointer is used in c++?