/* ***********************************************
Write a program to test formal arguments
date:06-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
main()
{
int m=6,n=3;
printf("%d\t",multiply(m,n));
printf("%d\t",multiply(15,4));
printf("%d\t",multiply(m+n,m-n));
printf("%d\n",multiply(6,sum(m,n))) ;
}
int multiply(int x,int y)
{
int p;
p=x*y;
return p;
}
int sum (int x , int y)
{
return x+y;
}
output:::
Note:
please send the questions which you are facing problem in C Language.
also write interview questions which are you faced in during interview related to C Language.
so i can try to solve them and send you back.
Write a program to test formal arguments
date:06-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
main()
{
int m=6,n=3;
printf("%d\t",multiply(m,n));
printf("%d\t",multiply(15,4));
printf("%d\t",multiply(m+n,m-n));
printf("%d\n",multiply(6,sum(m,n))) ;
}
int multiply(int x,int y)
{
int p;
p=x*y;
return p;
}
int sum (int x , int y)
{
return x+y;
}
output:::
Note:
please send the questions which you are facing problem in C Language.
also write interview questions which are you faced in during interview related to C Language.
so i can try to solve them and send you back.
No comments:
Post a Comment