What will be the output of the folllowing program on GCC compiler?<

Loading

โœช Choose the correct option.

What will be the output of the folllowing program on GCC compiler?

#include   
int main() {
char s[]="Hello india";
int i=0;
while(s[i]){
if(s[i]!=)
s[i]=s[i]+1;
i++;
}
printf("%s ",s);
return 0;
}

A. Hello india
B. ello india
C. Ifmmp joejb
D. Hello

Leave a Comment