Max string length using scanf -> ANSI C

后端 未结 5 1296
情歌与酒
情歌与酒 2020-11-30 13:14

I have:

#define MAX_STR_LEN 100

and I want to put into scanf pattern so I can control the string length:

scanf         


        
5条回答
提交回复
热议问题