How To Use Gets After Scanf

[Solved] How To Use Gets After Scanf | C - Code Explorer | yomemimo.com
Question : how to use gets after scanf

Answered by : cashmere

scanf("%d",num);
int c=getchar();
gets(str);

Source : https://discuss.codechef.com/t/using-gets-after-scanf/9281/2 | Last Update : Sat, 27 Mar 21

Answers related to how to use gets after scanf

Code Explorer Popular Question For C