C C++ Errors Question:
Download Questions PDF

char* f()
return "hello:";
void main()
{char *str=f();


str will be a pointer to "hello:"

so on printing str will output hello:

Download C C++ Errors Interview Questions And Answers PDF

Previous QuestionNext Question
When i use cout or cin call & then either << or >> .....it shows
declaration syntax error...what should i do?
int a;
return 0;?
What is run time error?