PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp
E

PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp

  • Media owner Edward88
  • Ngày thêm
(Choose 1 answer)
What is the output when the sample code below is executed?
int inc(int i) { return (i++); }
int main(){int i = inc(10);
printf("%d", --i);
return(0);
}
A. 9
B. 10
C. 11
D. Compile error

Exit 26

Thông tin

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

Image metadata

Filename
PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp
File size
44.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom