Sunday, April 18, 2010

Predict The Output:

int main()
{
char a[]="shark";
(*a)++;
printf("%s\n",a);
printf("%s",a+1);
return 0;
}

Output:
thark
hark

0 comments:

Post a Comment