July 8, 2021 in C and CPP
#include is a
1.2 #include is a
A) Compiler statement
B) Debugging statement
C) Pre-processor statement
D) None of the above
July 8, 2021 in C and CPP
1.2 #include is a
A) Compiler statement
B) Debugging statement
C) Pre-processor statement
D) None of the above
July 8, 2021 in C and CPP
1.1 In C++ the index of an array starts with
A) Any negative value.
B) Any positive value.
C) Value 1.
D) Value 0.
July 7, 2021 in C and CPP
c) Explain the use of except in handling in C++ program developed. Illustrate with example.
July 7, 2021 in C and CPP
b) Explain the technique of type conversion from one class type to another class type with
example.
July 7, 2021 in C and CPP
a) Explain the difference between private, protected and public access scope with respect to the class itself, its derived class and its object.
July 7, 2021 in C and CPP
c) Create a class month for taking a birth date between 1 to 12 month and display it.
July 7, 2021 in C and CPP
b) What is inline function? How does it differ from ordinary function? Explain merits and demerits of it.
July 7, 2021 in C and CPP
a) Explain operator overloading with example.
July 7, 2021 in C and CPP
c) Distinguish clearly between scanf() & printf() in cin & cout in C++.
July 7, 2021 in C and CPP
b) Define a class publisher that stores the name of the title and another class, sales, which stores number of sales for three months. Derive two classes: book and tape, which inherit from both publisher and sales. Define functions in the appropriate classes to get and print the details.