Question 1: (1 pt)
What is the
difference between inline functions and regular functions? Which one is faster?
Question 2: (1 pt)
Define the
function overloading and give an example.
Question 3: (1 pt)
What is the
difference between using file open mode flags ios::out and ios::app with
Ofstream?
Question 4: (1pt)
What is a
class destructor and what is it used for. Can we have more than one destructor
per class? Justify.
Question 5: (1 pt)
Define the
three ways of passing objects to function and when each
one is used.
Functions, Classes and Objects, computer science homework help
Academic integrity note
Use this educational resource to build your understanding. Follow your institution’s rules and cite sources appropriately.

