Question:

Point out the error in the program.

#include<stdio.h>
const char *fun();

int main()
{
    char *ptr = fun();
    return 0;
}
const char *fun()
{
    return "Hello";
}

Answers:


Keywords:

© 2017 QuizBucket.org