#include <stdio.h>
#include <stdlib.h>
int main()
{
int a=2,b=5;
a=func(a+b,a-b);
printf("%d\n",a);
return 0;
}
func (int x, int y)
{ return x+y, x-y;}
output::
10
#include <stdlib.h>
int main()
{
int a=2,b=5;
a=func(a+b,a-b);
printf("%d\n",a);
return 0;
}
func (int x, int y)
{ return x+y, x-y;}
output::
10
No comments:
Post a Comment