Int main ()
{
Char n [10], [10] b;
The scanf (" % s ", & amp; n);
Gets (b);
Puts (n);
Puts (b);
}
When I enter to end the scanf gets ended; When I end with a space the scanf Spaces will be gets record,,, now I want to let the scanf ends with a carriage return, and gets the carriage return not ended, how should I write??????? Help ah bosses
CodePudding user response:
The scanf (" % s \ n ", & amp; n);