void math(int*, int*, int*, int*)
void main()
{
int a, b, c, d;
puts("ENTER VALUES TO A & B");
math(&a,&b,&c,&d);
printf("sum= %d \n diff= %d", c,d);
getch();
}
void math( int*a, int*b, int*c, int*d)
{
*c= *a+*b;
*d= *a-*b;
}
Chat with our AI personalities
By using division, multiplication, addition or subtraction
An infinite amount of ones. 1 + 1 + 1... + 1 / 1 / 1 / 1... = n where n is any integer
123-45-67+89??
3 + 4 * 5 = 23 Remember that multiplication must be carried out before addition.
60