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

What is the difference between scanf and gets?

$
0
0

Problem : NOPC1

My code using scanf : scanf

My code using gets : gets

Apart from the input method everything else is same in the codes. Then why the outputs of both are different?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



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