A
Q. What is the output of C program with strings?
Code:
int main()
{
char str[]="JACKIE CHAN";
int i=0;
while(str[i] != 0)
{
printf("%c",str[i]);
i++;
}
return 0;
}
{
char str[]="JACKIE CHAN";
int i=0;
while(str[i] != 0)
{
printf("%c",str[i]);
i++;
}
return 0;
}
- Correct Answer - Option(B)
- Views: 20
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.