Subprograms

April 5, 2019 · Team EasyExamNotes · 1 min read (est.) · 3 comments

Share on WhatsApp

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)
{

}
Video lecture on Subprogram in Hindi

Discussion

Ask a question, share your thoughts or report an error.

3 comments

  1. When I originally commented I clicked the -Notify me when new comments are added- checkbox now whenever a comment is added I receive four emails sticking with the same comment. Possibly there is any way you can get rid of me from that service? Thanks!

    http://kyakarehindimei.com/v8lf

Sign in to participate in the discussion.

Join the discussion