Ashish and Arafat Sep 25th, 2006 Error in the program: Undefined symbol p.Warning in the program: P has assingned a valur that is never used.
Find the output of the following C programvoid f(char *p){p=(char *) malloc(6);strcpy(p,"hello");}void main( ){char *P="bye";f(p);printf("%s',p);}