c++ memory allocation
what is out put of that code
 
      char* f();
        main()
        {
        int *p="hello";
            p= (int*)malloc(20 sizeof(int));
           
          p=  f();
        cout<<p;
        
        }
 
        char *f()
        {
        char n[20];
            strcpy(n,"w");

        
        
        }
c++ memory allocation
===

what is out put of that code
 
      char* f();
        main()
        {
        int *p="hello";
            p= (int*)malloc(20 sizeof(int));
           
          p=  f();
        cout<<p;
        
        }
 
        char *f()
        {
        char n[20];
            strcpy(n,"w");

        
        
        }