PRF192_-_SU_2024_-_Block_5_-_RE_2704.webp
Quốc Hùng2

PRF192_-_SU_2024_-_Block_5_-_RE_2704.webp

Kizspy | Question: 28
(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
Quốc Hùng2
Ngày thêm
Lượt xem
2,384
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom