Differentiating macros and functions


1) Write down the difference between class and object.

2) What do you understand by header file?

3) Write down the uniqueness of inline functions.

4) What do you understand by data hiding in C++?

5) Explain the use of inheritance in programming.

6) What do you understand by function prototypes?

7) What is the importance of access specifiers in a class?

8) Write down the advantages and disadvantages of using friend functions?

9) How many methods are there to initialize an int with the constant?

10) Write a declarator for pure virtual function called purevar() that returns type void and takes one argument of type int.

11) What do you understand by pure virtual function?

12) Can I overload the destructor for my class? Justify the answer with suitable example.

13) What do you understand by new and delete operator?

14) Write down the advantage of having classes in a program.

15) Write down the difference between macros and functions?

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Differentiating macros and functions
Reference No:- TGS09819

Expected delivery within 24 Hours