STL (140)
OOPS (873)
C++ General (2409) In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
1066How the programmer of a class should decide whether to declare member function or a friend function?
1115We 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?
1074How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
1074
Describe exception handling concept with an example?
When there is a global variable and local variable with the same name, how will you access the global variable?
What are the differences between java and c++?
Do class declarations end with a semicolon?
What do you mean by global variables?
How should a contructor handle a failure?
Explain the virtual inheritance in c++.
Will rust take over c++?
Why do we use polymorphism?
What is an operator in c++?
What is the basic structure of c++ program?
How is c++ different from java?
Tell me what are static member functions?
When are exception objects created?
What is virtual methods?