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 public, private, protected inheritance?
How can I improve my c++ skills?
What is atoi in c++?
Explain register storage specifier.
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Why main function is special in c++?
Does c++ support exception handling?
What do you mean by inheritance in c++?
What are the different types of Storage classes?
What are shallow and deep copies?
Difference between struct and class in terms of access modifier.
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.