PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp
Utahime97

PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp

Kizspy | Question: 26
(Choose 1 answer)

Consider the following program. What will be printed to the screen?
#include<stdio.h>
int main()
{
char i, j;
for (i = 'A'; i < 'E'; i++){
for (j = 'A'; j <= i; j++)
{
}
printf("%c", i);
printf("\n");
}
return 0;
FUC
}
A. A
BB
CCC
B. AAAAA
CCC
DD
C. A AB
ABC ABCD ABCDE
D. A
AA
AAA

Thông tin

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

Share this media

Back
Bên trên Bottom