Chapter
4.1 Introduction Functions are the building blocks of C++ programs. Functions are also the executable segments in a program. The starting point for the execution of a program is main ( ). Functions are advantageous as they In Program -4.1 , the code for Factorial evaluation is repeated twice. In the Program -4. 2, the function fact (int num) is invoked whenever required. Functions thus encourage
Std 12 Computer Science Vol 2
Nimbuz Learn — English & Tamil mock tests, previous-year papers, study notes and current affairs for TNPSC Group 4, Group 2A and other Tamil Nadu government exams, by Nagercoil Nimbuz Learn Academy. Not affiliated with TNPSC.