C C++ Errors Question: Download Questions PDF
char* f()
return "hello:";
void main()
{char *str=f();
}
![C C++ Errors Interview Answer C C++ Errors Interview Question](https://globalguideline.com/public/images/interview/33.png)
Answer:
str will be a pointer to "hello:"
so on printing str will output hello:
so on printing str will output hello:
Download C C++ Errors Interview Questions And Answers
PDF