PRF192_-_SU_2023_-_Block_5_-_FE_726.webp
Momo911

PRF192_-_SU_2023_-_Block_5_-_FE_726.webp

  • Media owner Momo911
  • Ngày thêm
39
Answer (Choose 1 answer)
What is the output of the following code?
int sum(int n);int main ()
{ printf(" s = %d",sum(5));
return(0);}
int sum(int n){int s,i;
s = 0:
for(i=1;i<=n;i++) s += i;
return(s);}
A. 13
B. 14
C. 15
D. 16
FUS

Thông tin

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

Image metadata

Filename
PRF192_-_SU_2023_-_Block_5_-_FE_726.webp
File size
60.6 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom