PRF192_-_S4_-_SU_2023_-_FE_438.webp
D

PRF192_-_S4_-_SU_2023_-_FE_438.webp

Answer (Choose 1 answer)
What is the output of the following code?
void test(float x){ x += 25;
printf(" Value inside the function: %.2f",x);
x += 25;
}
int main ()
{ float y;y = 100;
printf(" y = %.2f",y);test(y);
printf(" y = %.2f",y);
return(0);
}
A. y=100
Value inside the function: 125
y=125
B. y = 100.00
Value inside the function: 125.00
y = 100.00
C. y=100.00
Value inside the function: 125.00 y=150.00
Exit 48

Thông tin

Category
PRF192
Thêm bởi
DinhTai2005
Ngày thêm
Lượt xem
1,360
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_S4_-_SU_2023_-_FE_438.webp
File size
66.2 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom