Explain how to initialize a const data member.


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

Post New Answer

More C++ General Interview Questions

What are protected members in c++?

0 Answers  


What is the use of lambda in c++?

0 Answers  


Which programming language should I learn first?

0 Answers  


What is the role of static keyword for a class member variable?

0 Answers  


Can we define a constructor as virtual in c++?

0 Answers  






Can you overload the operator+ for short integers?

0 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Write about the stack unwinding?

0 Answers  


Explain friend class?

0 Answers  


What is cout flush?

0 Answers  


How does class accomplish data hiding in c++?

0 Answers  


Why do we need runtime polymorphism in c++?

0 Answers  


Categories