Explain how to initialize a const data member.
No Answer is Posted For this Question
Be the First to Post Answer
What are protected members in c++?
What is the use of lambda in c++?
Which programming language should I learn first?
What is the role of static keyword for a class member variable?
Can we define a constructor as virtual in c++?
Can you overload the operator+ for short integers?
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"?
Write about the stack unwinding?
Explain friend class?
What is cout flush?
How does class accomplish data hiding in c++?
Why do we need runtime polymorphism in c++?