We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

How do you print a string on the printer?

0 Answers  


How do you remove an element from a set in c++?

0 Answers  


When do we run a shell in the unix system? How will you tell which shell you are running?

0 Answers  


Explain the virtual inheritance in c++.

0 Answers  


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

0 Answers  






Is c++ faster than c?

0 Answers  


When is dynamic checking necessary?

0 Answers  


What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?

3 Answers  


Is multimap sorted c++?

0 Answers  


What do you mean by ‘void’ return type?

0 Answers  


Why c++ is better than c language?

0 Answers  


What is the copy-and-swap idiom?

0 Answers  


Categories