|
char *cstr1="hello";
char s[]="tick"; cstr1=s;
for(y=0;y<4;y++)
{
cout<<" "<<*(cstr1+y)<<" "<<(*cstr1)++;
}
OUTPUT: u t i u c v k w
and if it is
char *cstr1="hello";
char s[]="tick"; cstr1=s;
for(y=0;y<4;y++)
{
cout<<" "<<*(cstr1+y);
}
OUTPUT IS : t i c k
how can dis be possible plz somone help
|