Error: Assignment makes pointer from Integer without a cast… in C Prog

后端 未结 2 695
轻奢々
轻奢々 2021-01-27 13:31

I get this error whenever i run the program \" Assignment makes pointer from Integer without a cast\". My code is written below.... Please help... Thankx

struct          


        
2条回答
  •  天命终不由人
    2021-01-27 14:16

    I think yourchar *number[3]; should be char number[3];, or at least you should allocate space for each of the 3 number pointers.

提交回复
热议问题