Let\'s say that a function which returns a fixed ‘random text’ string is written like
char *Function1() { return “Some text”; }
then the p
You can use static char string for return value, but you never use it. It's just like access violation error. The behavior of it is not defined in c++ Standard.