PRF192_-_FA_2023_-_FE_1018.webp
T

PRF192_-_FA_2023_-_FE_1018.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[] = "xyzt";
int len = strlen(str);
for(int i=0;i < len; i++)
{
}
}
if(i%2 == 1)
str[i] = toupper(str[i]);
printf("%s", str);
return 0;
A. xyzt
B. xYzT
C. XYZT
D. XyZt
Exit 9

Thông tin

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

Image metadata

Filename
PRF192_-_FA_2023_-_FE_1018.webp
File size
48.1 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom