In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
1085How the programmer of a class should decide whether to declare member function or a friend function?
1138We 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?
1095How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
1094Post New C++ General Questions
When must you use a pointer rather than a reference?
What is a pointer with example?
What are the effects after calling the delete this operator ?
What is scope resolution operator in c++ with example?
Write about the retrieval of n number of objects during the process of delete[]p?
What is a manipulative person?
What is the difference between delegation and implemented-in-terms-of?
Explain static and dynamic memory allocation with an example each.
What are the advantages of using pointers in a program?
What is ios class in c++?
What are punctuators in c++?
what is data abstraction in C++?
Why is c++ considered difficult?
what are the events occur in intr activated on interrupt vector table
What is auto type c++?