Program to find product of given two integers
Program to find product of given two integers
#include<stdio.h>
int mul(int a, int b)
{
return(a*b); Called Function / Function definition
}
void main()
{
int a, b, c;
printf(“Enter two integers\n”);
scanf(“%d%d”,&a,&b); Calling Function
c=mul(a,b);
printf(“The Product is = %d”,c); Function call
}
Comments
Post a Comment