PRF192_-_SP_2023_-_RE_-_s_1_121.webp
I

PRF192_-_SP_2023_-_RE_-_s_1_121.webp

Multiple Choices
Answer (Choose 1 answer)
What will be the output of the following program?
#include<stdio.h>
int main()
{
int x[4] = {2, 1, 4, 8);
int rs=0;
for (int i=0; i < 4; i++){}rs += x[i];printf("%d", rs);return 0;
}
A. 14
B. 15
C. 16
D. 17

Thông tin

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

Share this media

Back
Bên trên Bottom