Tuesday, May 15, 2012

Guess the output

main()
{
char *p="hai friends",*p1;
p1=p;
while(*p!='\0')
{
++*p++;
}
printf("%s   %s",p,p1);
} 
 
What will be the output at runtime  ?

No comments:

Post a Comment