C C++ Errors Question:
Download Job Interview Questions and Answers PDF
char* f()
return "hello:";
void main()
{char *str=f();
}
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