PRF192_-_FEB5_-_FA_2023_1298.webp
G

PRF192_-_FEB5_-_FA_2023_1298.webp

(Choose 1 answer)
What will be the output of the following program?
#include<stdio.h>
#include<string.h>
#include<ctype.h>
void main()
{
char str[] = "abcd";
int len = strlen(str);
for(int i=0;i < len; i++)
{
}
}
if(i%2 == 0)
str[i] = toupper(str[i]);
printf("%s", str);
return 0;
A. abcd
B. ABCD
C. AbCd
D. aBcD

Exit 45

Thông tin

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

Image metadata

Filename
PRF192_-_FEB5_-_FA_2023_1298.webp
File size
48.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom