Home » C Programming » Constants

Point out the error in the program. #include const char *fun(); int main() { char *ptr = fun(); return 0; } const char *fun() { return "Hello"; }

Correct Answer: No error and No output

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion