PRF192_-_FA_2024_-_RE_3050.webp
H

PRF192_-_FA_2024_-_RE_3050.webp

Kizspy | Question: 30
(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
hello_world1
Ngày thêm
Lượt xem
2,274
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom