how to store a user input into a variable whih the type of char *?

后端 未结 0 498
小鲜肉
小鲜肉 2020-12-05 09:56

Here is my code and it doesn\'t work. I think the problem is in the scanf line. If you can help me guys

char * name;
name = "random name";
puts(name         


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