Hi,
I have a doubt, in the following program, it prints the string returned by throwstring()function.
Is the string which the function is returning is local to the function or outside of the function?
Can somebody throw light on underlying mechanism..
main()
{
char* throwstring();
printf("%s\n", throwstring());
}
char *throwstring()
{
return "I'm from throwstring func";
}
Thanks in Advance