Difference between const char* p and char const* p?
Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
What is the use of turbo c++?
What is java and c++?
How can I learn c++ easily?
Differences between private, protected and public and give examples.
Where must the declaration of a friend function appear?
Why was c++ created?
Will rust take over c++?
What is the difference between global int and static int declaration?
How to declare an array of pointers to integer?
What is c++ similar to?
Is nan a c++?
What are separators in c++?
What is the difference between the functions memmove() and memcpy()?
Which software is used to run c++ program?
Is java the same as c++?