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
What is a syntax in c++?
What is anonymous object in c++?
Why do we use string in c++?
How do we balance an AVL Tree in C++?
What are static type checking?
What is c++ used for in games?
What parameter does the constructor to an ofstream object take?
Does c++ have a hash table?
What is stoi in c++?
What is difference between rand () and srand ()?
What are multiple inheritances (virtual inheritance)?
Difference between strdup and strcpy?
Does std endl flush?
What's the most powerful programming language?
What does new in c++ do?