Passing a string as an argument to a function, then use that string value to open a file In C

后端 未结 0 1797
野的像风
野的像风 2021-02-02 07:00

Suppose I have two methods: int main(void) and void func(char *FileName).

The main method will scan in, the name of a file from a user then save the value to char fileInp

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