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 difference between an array and a list?

0 Answers  


Write a recursive program to calculate factorial in c++.

0 Answers  


How did c++ get its name?

0 Answers  


Difference between linked list and array?

3 Answers  


What is endl c++?

0 Answers  






the maximum length of a character constant can be a) 2 b) 1 c) 8

0 Answers  


What is auto used for in c++?

0 Answers  


What is the advantage of an external iterator.

0 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  


What are abstract data types in c++?

0 Answers  


What is the difference between c++ and turbo c++?

0 Answers  


What is string in c++ programming?

0 Answers  


Categories