Using scanf and fgets in the same program?

后端 未结 4 1238
盖世英雄少女心
盖世英雄少女心 2020-12-06 12:50

I need to do something like the following:

int main(void) {
char a,b,cstring;

printf(\"please enter something\");
scanf(\"%c %c\",&a,&b);
prinf(\"th         


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