Returning a local char array ?Yes you are right. The function GetVar returns the value 5. This function works fine (comparing to ...
Returning a local char array ?Ok, this is not okey cause memory allocated on the stack of GetByte2 is overwritten. [code]char* ...
Returning a local char array ?Thank's Vlad. That sounds logical. I couldn't find out why it worked. It shouldn't work according to...
Returning a local char array ?Thanks Cubbi and dadabe, I appreceiate your comments! But... Following code compiles and runs f...
Returning a local char array ?In this code there are four functions. One main-function, and three sub functions returning a char a...
This user does not accept Private Messages