Saturday, 5 July 2014

C++ program to illustrate function with no arguments and no return value


Here is a C++ program to illustrate function with no arguments and no return value


 SOURCE CODE OUTPUT
#include<iostream>
using namespace std;
void test();
int main()
{
    test();
    return 0;
}
void test()
{
    cout<<"Function with no argument and no return value ";
}

Any questions regarding to program please write in comments.

No comments:

Post a Comment