Search your topic here

Subprograms

A LECTURE VIDEO ON SUBPROGRAMS

Click here to view on YouTube

SUBPROGRAMS

Subprograms are the fundamental building blocks of programs.
The two fundamental kinds of subprograms are,
  1. Functions
  2. Procedures
1. Functions: Functions return values , such that,
int show(int a)
{
return a;
}

2. Procedures: Procedures do not return values, such that
void show(int a)
{

}

LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.