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

What is the main purpose of c++?

0 Answers  


What is command line arguments in C++? What are its uses? Where we have to use this?

0 Answers   HCL,


What is main function in c++ with example?

0 Answers  


Why is main an int?

0 Answers  


What is exception handling? Does c++ support exception handling?

0 Answers  


What is meant by the term name mangling in c++?

0 Answers  


Differentiate between structure and class in c++.

0 Answers  


What is the difference between reference type and pointers.

4 Answers   HCL,


What is math h in c++?

0 Answers  


What are all predefined data types in c++?

0 Answers  


To what does “event-driven” refer?

0 Answers  


Why is "using namespace std;" considered bad practice?

0 Answers  


Categories