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?
1140How the programmer of a class should decide whether to declare member function or a friend function?
1185We 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?
1149How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
1132
What do you mean by translation unit in c++?
Carry out conversion of one object of user-defined type to another?
Explain binary search.
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Why null pointer is used?
Write about the members that a derived class can add?
What is a vector c++?
What is the output of the following program? Why?
How the delete operator differs from the delete[]operator?
Difference between pass by value and pass by reference?
What is virtual function? Explain with an example
What is the difference between a declaration and a definition?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What do you mean by function overriding & function overloading in c++?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?