1.

What will be the output of the program?

#include<stdio.h> int addmult(int ii, int jj)
{ int kk, ll; kk = ii + jj; ll = ii * jj; return (kk, ll);
} int main()
{ int i=3, j=4, k, l; k = addmult(i, j); l = addmult(i, j); printf("%d %d n", k, l); return 0;
}

A. 12 12
B. No error, No output
C. Error: Compile error
D. None of above
Answer» B. No error, No output


Discussion

No Comment Found