What is the output of C Program with Strings?
int main()
{
char string1[]="GITAM";
printf("%s", stringi);
return 0;}
A.GITAM
B.Error
C.GIT
D.G
Answers
Answered by
0
Answer:
*ptr!='/0' is the main part of traversing the c string
Similar questions
Psychology,
2 months ago
English,
2 months ago
Biology,
2 months ago
Math,
5 months ago
Science,
5 months ago
English,
11 months ago
Social Sciences,
11 months ago