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 |
If a header file is included twice by mistake in the program, will it give any error?
What is the difference between set and map in c++?
What does count ++ do in c++?
Can we inherit constructor in c++?
what is the emaning of '#include" "'?
What is a catch statement?
Should I learn c or c++ or c#?
Explain the use of vtable.
What is the difference between the parameter to a template and the parameter to a function?
What is the difference between = and == in C?
20 Answers Christ University, Intel,
How do you clear a buffer in c++?
What is the difference between equal to (==) and assignment operator (=)?