# The following C program i have taken from book but output is not coming- Solution required- kindly help.

asked Apr 3, 2018 1 flag
int mul (int a, int b);
main()
{
int a, b, c;
a = 5;
b = 10;
c = mul (a,b);
printf ("multipilcation of %d and %d is %d",a,b,c);
}
int mul (int x, int y)
int p;
{
p = x*y;
return(p);
}

answered Feb 17, 2020 by (140 points)
a<b

a is less than b
answered Feb 19, 2020 by (140 points)
#include <stdio.h>
int main()
{
int a,b,c;
printf("enter the value of a,b");
scanf("%d%d",&a,&b);
c=a*b;
printf("the result is %d*%d=%d ",a,b,c);
return 0;
}
answered Feb 19, 2020 by anonymous
int main()
{
int a=5;
int b=10;
int c=mul(5,10);
printf ("multipilcation of %d and %d is %d",a,b,c);
}
int mul(int x, int y)
{
return x*y;
}
answered Feb 19, 2020 by anonymous

#include<stdio.h>

void main()

{

int a,b,c;

a = 5;

b = 10;
c = a*b;

printf("Multiplication of %d and %d is %d",a,b,c);

}

answered Feb 19, 2020 by anonymous
answered Feb 21, 2020 by (140 points)
int mul (int a, int b);
main()
{
int a, b, c;
a = 5;
b = 10;
c = mul (a,b);
printf ("multipilcation of %d and %d is %d",a,b,c);
}
int mul (int x, int y)
int p;
{
p = x*y;
return(p);
}
answered Jan 2 by (140 points)
main()
{
int a, b, c;
a = 5;
b = 10;
int mul (int a, int b);
c = mul (a,b);
printf ("multipilcation of %d and %d is %d",a,b,c);

return 0;
}
int mul (int x, int y)
{
int p;
p = x*y;
return(p);
}