S
sumit1680
Hi all,
recently i tried the following peice of code in gcc
int main ()
{
char *ptr = "possible";
printf("%s",ptr);
return (0);
}
the output was :
possible
now how was this done? i did not assign memory to ptr ! please
explain...
sumit
recently i tried the following peice of code in gcc
int main ()
{
char *ptr = "possible";
printf("%s",ptr);
return (0);
}
the output was :
possible
now how was this done? i did not assign memory to ptr ! please
explain...
sumit