the difference between array identifier and address of array identifier

前端 未结 4 1038
自闭症患者
自闭症患者 2021-01-14 07:23

Following program would state my doubt clearly I think,so I posted the program:

 #include 
int main() {

        int a[]={1,2,3,4,5};
                 


        
4条回答
  •  终归单人心
    2021-01-14 07:27

    In C, you can get away with comparing two different types of pointers, but your compiler should give you a warning.

提交回复
热议问题