- 1
What is output of this code...???
char *func(void); main() { char *Text1; Text1 = func(); } char *func(void) { char Text2[10]="martin"; return(Text2); }
3 Answers
+ 5
This is why it is very important to properly format your code, especially when presenting it to others. Because you didn't feel like properly formatting your code, we have to do it ourselves in order to even help you OR read it as one line of text.
https://www.sololearn.com/Codes/
^Go there, click on 'New Code', and copy/paste your code into that. Properly format your code. Save it and then post the link to us. We'll be more than happy to help you out, and this is also a very good way for you to see what the output of the code is.
+ 5
Nothing, as your code doesn't access any output functions.
0
Iska answer "m" hoga
Kyuki function ka return type char* h so wo base address return krega