PRF192_-_PT02_-_SP_2024_1513.webp
maik205

PRF192_-_PT02_-_SP_2024_1513.webp

  • Media owner maik205
  • Ngày thêm
Question 4
Answer saved
Marked out of 1.00
What wil be the output of the following program?
1
#include<stdio.h>
2
#include<string.h>
3
#include<ctype.h>
4
int main()
5
6
7
8
日{
char str[]="xyzt"; int i;
int len=strlen(str);for(i=0;i<len;i++)
9日
{
10
if(i%2==1)str[i]=toupper(str[i]);
11
}
12
13
printf("%s", str);
14
return 0;
}
15
O a.
xyzt
b. xYzT
Oc. XyZt
O d. XYZT
Clear my choice

Thông tin

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

Share this media

Back
Bên trên Bottom