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 default width for ouputting a long integer using the insertion operator?
What are literals in C++?
What is the best free c++ compiler for windows?
In the derived class, which data member of the base class are visible?
Comment on c++ standard exceptions?
give me an example for testing a program showing the test path .show how the test is important and complex.
what is C++ exceptional handling?
What is a reference in C++?
Can class objects be passed as function arguments?
What is public, protected, private in c++?
What is the v-ptr?
What are templates? where we should use it?