
350 Fundamentals of Computer Programming and IT
EXERCISES
A. Answer the following questions
What are the differences between C and C++ functions? 1.
What are 2. void functions?
What does function prototype mean? Is it compulsory? 3.
When is function prototype declaration not necessary? 4.
What are default arguments? 5.
How are default arguments entered at run- time? 6.
What are 7. inline functions? Discuss its advantages and disadvantages.
What is the difference between call by value and call by reference? Illustrate them with examples. 8.
What are constant arguments? 9.
What is the difference between pointer and reference variable? 10.
B. ...