What would be the output of the following?
char *fun(char *ptr) { ptr+=3; return(ptr); } void main() { char *x,*y; x="Hello"; y=fun(x); printf("%s",y); }
Reveal answer
Fill a bubble to check yourself
What would be the output of the following?
char *fun(char *ptr) { ptr+=3; return(ptr); } void main() { char *x,*y; x="Hello"; y=fun(x); printf("%s",y); }