what's difference in functioning of ptr=&n and ptr = (int*)malloc(4) in context of my code mentioned below?

前端 未结 0 1464
梦谈多话
梦谈多话 2020-12-20 15:41
    #include 
    #include 

    int main(void){
    int i=0,n;
    int*ptr;                  /*this program attempts to prompt user t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题