scanf() error: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’

后端 未结 0 1054
傲寒
傲寒 2021-02-19 12:45

Whenever I try to run this code, it shows me an error:

warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’

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