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
How many static variables are created if you put one static member into a template class definition?
Write a function that swaps the values of two integers, using int* as the argument type?
What is java and c++?
What is the difference between the compiler and the preprocessor?
How to access a variable of the structure?
How would you use the functions randomize() and random()?
What is the array and initializing arrays in c++?
What is a constant reference?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
write a porgram in c++ that reads an integer and print the biggest digit in the number
What return value must conversion operators have in their declaration?
How the endl and setw manipulator works?
What is the use of cmath in c++?
What do you understand by a pure virtual member function?
Explain virtual destructor?