Pages
Home
Adsense Tips
Blogging Tips
SEO Tips
Wordpress
Thursday, February 27, 2014
Addtion using function
#include<stdio.h>
#include<conio.h>
int sum();
void main()
{
int total;
total=sum();
printf("%d",total);
getch();
}
sum()
{
int a, b;
printf("Enter two Number");
scanf("%d%d", &a, &b);
return a+b;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment