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 gives the current position of the put pointer?
what is Loop function? What are different types of Loops?
What is the use of ::(scope resolution operator)?
Which software is best for c++ programming?
Is c++ used anymore?
Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables
Why c++ is not a pure oop language?
What is the purpose of the noexcept keyword?
Write a program to show polymorphism in C++?
Explain method of creating object in C++ ?
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?