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 when the sample code below is executed?
int power (int base, int exponent) {
int result, i;
result = 1;
for (i = 1; i <= exponent; i++)result = result* base;
return result;
}
int main()
{ printf("%d", power(4,3));return 0;
}
A. 7
B. 12
C. 4
D. 64

Exit 29

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom