PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp
Đ

PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp

(Choose 1 answer)
What will be the output of the following program?
#include<stdio.h>
#include<1/50-CAP >
#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

Thông tin

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

Image metadata

Filename
PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp
File size
178.6 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom