Kizspy | Question: 25
(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