Introduction to Functions in c++





This video tutorial introduces you to the concept of functions in c++.
You will learn what is a function, how to declare a function, how to write the function body, what is function prototyping, how to call a function in detail with example.

source code for this tutorial

#include <iostream>

using namespace std;

void display();

int main()
{
    display();
    display();
    display();
      return 0;
}

void display(){

cout << "welcome to functions"<<endl;
}