Hi,Though it's not related with gcc, could anyone help me with following question:
Where is the string literal allocated ? Is it on the stack ? For example, where is "abc" allocated ? char * foo() { return "abc"; } Thanks. Mike
Hi,Though it's not related with gcc, could anyone help me with following question:
Where is the string literal allocated ? Is it on the stack ? For example, where is "abc" allocated ? char * foo() { return "abc"; } Thanks. Mike