PRF192_-_FA_2024_-_Block_5_-_RE_3281.webp
Minh Đức1

PRF192_-_FA_2024_-_Block_5_-_RE_3281.webp

Kizspy | Question: 29
(Choose 1 answer)
What is the output of the following code snippet?
#include <stdio.h>
int num(int a, int b){
int sum;
sum = a + b;
return sum;
}
int main()
{
int a, b, result;
a = 10;
b= 12;
result = num(a, b);
printf("%d", result);
return 0;
FUOVER
}
A. 22
B. 10
C. 12
D. 21

Thông tin

Category
PRF192
Thêm bởi
Minh Đức1
Ngày thêm
Lượt xem
2,551
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom