Note: We need an author for this blog. Willing people contact Us......

Thursday, 17 November 2016

Dev C++, Functions Example#1

# include <iostream>
# include <conio.h>
using namespace std;

int sum(int a, int b=20);
int main ()
{

int a=100;
int b=200;
int result;
result=sum(a,b);
cout<<"total value is"<<result<<endl;

}

No comments:

Post a Comment

Contact us

Name

Email *

Message *