Trương Duy Bằng
New member
#include<stdio.h>
#include <conio.h>
int func(int i, int j)
{
int k, l;
k = i + j;
l = i * j;
return (k, l);
}
void main()
{
int i = 2, j = 3, k, l;
k = func(i, j);
l = func(i, j);
printf("%d %d", k, l);
getch();
}[/CODE]
What will be the output of the program?
A. 6 6
B. 5 6
C. Complier error
D. None of above
#include <conio.h>
int func(int i, int j)
{
int k, l;
k = i + j;
l = i * j;
return (k, l);
}
void main()
{
int i = 2, j = 3, k, l;
k = func(i, j);
l = func(i, j);
printf("%d %d", k, l);
getch();
}[/CODE]
What will be the output of the program?
A. 6 6
B. 5 6
C. Complier error
D. None of above
Chọn A là đáp án đúng