Forgot Password?
Mobile number is now mandatory for the security of your account.
We've sent you a verification code on your mobile number. Please enter it here to set a new password.
We've sent you a verification code on your mobile number or email address. Please enter it here to set a new password.
Illustrate with a C++ program the execution of constructors and destructors when single inheritance is involved.
What is STL? Briefly explain the use of containers, vectors, lists and Maps.
What is exception handling? Write a C++ program that illustrates exception handling with the help of keywords: try, throw and catch.
What are I/O manipulators? Explain any five C++ manipulators used for output.
Explain width(), precision () and fill () functions.
What are streams in C++? Explain C++'s predefined streams?
With examples explain pure virtual function and abstract classes.
What is a virtual function? Write a C+- program to demonstrate calling of virtual function through a base class reference.
Explain the need for virtual base classes.
Explain passing of parameters to base class constructors in multiple inheritance.
Explain any three features of object oriented programming.
Write a C++ program to illustrate multiple inheritance and multilevel inheritance.
Explain the visibility of the base class members for the access specifiers:
i) Public ii) Private iii) Protected.
Illustrate the same with a program.
Write a C++ program to perform the addition of two location objects by overloading operator, using a class “LOCATION with the data members longitude and latitude. Read and display the location objects by overloading the operators << & >>.
What are friend functions? Write a C++ program to find the sum of two complex numbers using friend functions.
What are constructors? Explain the different types of constructors. Write a C++ program to illustrate the different types of constructors.
Define class and objects. Write a C++ program to create a class STUDENT with the following specifications.
Data members: Name, Roll No. and Average Marks
Member functions: Read & Write
Use the above specification to read and print the information of 5 students.
What are inline functions? Illustrate inline functions with an example.
What is function overloading? Write a C++ program to define three overloaded functions to find the sum of two integers, sum of two floating point numbers and sum of three integers.
Congratulations! Your trial of
is now active.
Let's catch up on a Zoom call and I'll help you craft a killer career plan! Bring your own coffee.
Sourabh Bajaj