PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
Choso87

PRF192_-_SU_2023_-_Block_5_-_RE_751.webp

  • Media owner Choso87
  • Ngày thêm
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
v=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 20

Thông tin

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

Image metadata

Filename
PRF192_-_SU_2023_-_Block_5_-_RE_751.webp
File size
65.8 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom