PRF192_-_SP_2024_-_RE_1724.webp
true_love

PRF192_-_SP_2024_-_RE_1724.webp

Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Multiple Choices
Size: 10
Time Left:45:59
✔D
(Choose 1 answer)
#include<stdio.h>
What will be the output of the following program?
#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

Thông tin

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

Image metadata

Filename
PRF192_-_SP_2024_-_RE_1724.webp
File size
198.2 KB
Dimensions
1834px x 882px

Share this media

Back
Bên trên Bottom