Demo code for function returning pointer in c:
What is the output of below program
char *temp = "string";
it crashes at run time.
output will be "string".
it won't print any thing. but no error and no crash.
it prints "s".
Back To Top