const char *
char * const
What is the differnce between the above two?
Answer Posted / sahithi
const char* /*string is fixed pointer is not*/
char *const /*pointer is fixed string is not*/
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
How to access a variable of the structure?
Which field is used in c++?
Why cstdlib is used in c++?
How the endl and setw manipulator works?
What are protected members in c++?
Why do we need function?
By using c++ with an example describe linked list?
Where and why do I have to put the "template" and "typename" keywords?
Should the this pointer can be used in the constructor?
What is an accessor in c++?
Explain the concept of copy constructor?
What is ios :: in in c++?
Which format specifier is used for printing a pointer value?
What is the use of setfill in c++?