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 abstraction in c++ with example?
What are inline functions? What is the syntax for defining an inline function?
Is c++ the most powerful language?
What is the C-style character string?
How would you implement a substr() function that extracts a sub string from a given string?
How can you create a virtual copy constructor?
write a programme to get a character and thier ASCII value
Can we run c program in turbo c++?
What are the new features that iso/ansi c++ has added to original c++ specifications?
What is the use of main function in c++?
when can we use copy constructor?
How can I disable the "echo" feature?