Answers for "get string input from user in c"

C
4

string input c

scanf("%[^\n]s", &name);//Take input while '\n' not occur
Posted by: Guest on April-29-2022

Code answers related to "C"

Browse Popular Code Answers by Language