July 7, 2021 in C and CPP Define a class publisher that stores the name of the title and another class, sales, which stores number of sales for three months. Read More
July 7, 2021 in C and CPP Write a class number. Calculate the power to be raised of that number. Read More
July 7, 2021 in C and CPP What is an abstract class? How do you create an abstract class? Explain it using example. Read More
July 7, 2021 in C and CPP Explain with suitable example pointer to object. How can we access function or variable with the help of pointer to object? Read More
July 7, 2021 in C and CPP What happens if we don’t use virtual function in inheritance? Explain importance of virtual function with this reference. Read More
July 7, 2021 in C and CPP Explain polymorphism and data hiding in c++ with suitable examples. Read More
July 7, 2021 in C and CPP Member functions defined inside a class specifier are _______ by default. A. Lifetime B. Ostream C. CallingD. Structures E. One F. Abstract classG. Two H. Class name I. PrivateJ. Default constructor K. Class L. ConstantM. Visibility N. Variable O. Void Read More
July 7, 2021 in C and CPP C++ requires const to be initialized. Each statement below is either TRUE or FALSE. Choose the most appropriate one andENTER in the “tear-off” sheet attached to the question paper, following instructionstherein. Read More