Explain how to initialize a const member data.


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

Post New Answer

More C++ General Interview Questions

What is a storage class?

0 Answers  


What's the best free c++ profiler for windows?

0 Answers  


Do you know the problem with overriding functions?

0 Answers  


How do you declare a set in c++?

0 Answers  


How do you show the declaration of a virtual constructor?

0 Answers  






What does n mean in c++?

0 Answers  


In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

5 Answers   GE,


What is ios class in c++?

0 Answers  


What is the difference between static global and global ?

2 Answers   CA,


Where must the declaration of a friend function appear?

0 Answers  


Which of the following is evaluated first: a) && b) || c) !

0 Answers  


Explain queue. How it can be implemented?

0 Answers  


Categories