The following code is written to get the multiplication and addition
of two given integer numbers. However, the multiplication of the
two numbers is correct but the addition of the two numbers is
incorrect. What is the output ? Identify the error.
#include<stdio .h>
#include<conio.h>
void main()
{
int i=10, j=20;
clrscr();
multiply(&i, &j) ;
addition(i , j) ;
getch() ;
}
multiply(int *1, int *j)
{
*i=*i**j;
printf ("Multiplication of the two numbers is: : %d", *i);
}
addition(int i, int j)
{
i=i+j;
printf("\Addition of the two numbers is: : %d" , i) ;
}