Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

Input String with spaces

$
0
0

How can I input a string in C with spaces. I know gets and scanf("%[^\n]s") are possible answers but they are not accepted by command line text input files with redirection operators. Plz answer?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>