DEVELOPER'S POINT
Pages
Home
Zend framework
Data Warehouse
Monday, 8 October 2012
FUNCTION WITH ARGUMENTS
#include<iostream.h>
int sum(int a, int b){
int c = a + b;
return c;
}
void main()
{
cout<<"the sum of the two numbers is " << sum(3,3)<<endl;
}
OUTPUT WILL BE
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment