Array of Pointer for char Vs Array of pointer for int

后端 未结 0 1485
旧时难觅i
旧时难觅i 2020-12-28 19:32

Why the first declaration is valid whereas the other is not ?

    char* string[2] = { "Hello", "Bellow" };

    int* b[2] = { {1,2,3}, {2,         


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