PRF192_-_2_-_SP_2024_-_FE_1599.webp
Kokichi85

PRF192_-_2_-_SP_2024_-_FE_1599.webp

(Choose 1 answer)


What will be the output of the following program?
#include<stdio.h>
#include <string.h>
void show(char str[])
{
int len = strlen(str);
for(int i=0;i<len;i++)
printf("%c", str[i]);
}
int main(){
char str = "abcd";
show(str);
return 0;
}
A. a|b|c|d
B. alb|c|d
C. abcd
D. a,b,c,d
Q: 27

Thông tin

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

Image metadata

Filename
PRF192_-_2_-_SP_2024_-_FE_1599.webp
File size
166.7 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom