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);

}

0 votes

#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;

}

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;

}

0 votes

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;

}

{

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;

}

0 votes

#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);

}

0 votes

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);

}

0 votes

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);

}

{

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);

}

0 votes

#include<stdio.h> /*ERROR*\

int mul(int x, int y);

int main()

{

int a, b, c;

a = 5;

b = 10;

c = mul (a,b);

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

return 0;

}

int p; /* INTER CHANGED LINE *\

int mul(int x, int y)

{

p=x*y;

return p;

}

YOUR MISTAKE IS :

!.FORGOTTEN TO INCLUDE HEADER FILE (i.e, #include<stdio.h>)

2.YOU INTER CHANGE THE DECLARION OF P LINE AND DECLARATION OF FUNCTIONS.

...