Difference between const char* p and char const* p?
There is no difference between const char *p and char const *p as both are pointer to a const char and position of '*'(asterik) is also same. 2. char *const ptr : This is a constant pointer to non-constant character. You cannot change the pointer p, but can change the value pointed by ptr.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between an array and a list?
How can virtual functions in c++ be implemented?
Write a Program for find and replace a character in a string.
What are the popular tools used to detect memory leaks in c++
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
What is the best c++ book?
advantages and disadvantages of using Borland C++ / version 5.
What are the effects after calling the delete this operator ?
Can I learn c++ without c?
What is long in c++?
Explain what is polymorphism in c++?
Can we generate a C++ source code from the binary file?