PRF192_-_SP_2023_-_RE_-_s_1_121.webp
I

PRF192_-_SP_2023_-_RE_-_s_1_121.webp

Multiple Choices
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);
}
\lambda~v=100
Value inside the function: 125
v=125
B. v=100.00
Value inside the function: 125.00
y=100.00
C.y=100.00
Value inside the function: 125.00
y=150.00

Thông tin

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

Share this media

Back
Bên trên Bottom