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 will happen if when say delete this ?

7 Answers  


In C++ cout is: a) object b) class c) something else

11 Answers   Infosys, Lehman Brothers,


What is a storage class used in c++?

0 Answers  


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


What is c++ w3school?

0 Answers  






Which of the following operator cannot be overloaded?

2 Answers   TCL,


How do I run c++?

0 Answers  


What is iterator c++?

0 Answers  


What is ios flag in c++?

0 Answers  


Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

0 Answers   Maxobiz,


What are the difference between reference variables and pointers in C++?

1 Answers  


Can a built-in function be recursive?

0 Answers  


Categories