Output of the question.
#include stdio.h
char* strFun(void)
{
char *str="GMIT";
return str;
}
int main()
{
char *x;
x=strFun();
printf("str value = %s",x);
return 0;
}


Posted on by