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 name hiding in c++?
When does a 'this' pointer get created?
How does work in c++?
How do c++ struct differs from the c++ class?
How do you invoke a base member function from a derived class in which you have not overridden that function?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What do you mean by Stack unwinding?
Define token in c++.
Write a program to interchange 2 variables without using the third one.
When do you call copy constructors?
what kind of projects are suitable for c and c++
what is difference between internet and Internet?
12 Answers College School Exams Tests, Microsoft, MIT, TCS,