+ 1

Reading string Methods scanf() gets()

if the string is "welcome to c" then scanf() reads up to welcome.(space considered to be end of the string) but in gets() it reads complete string i.e welcome to c.

3rd Dec 2018, 11:50 AM
Karimulla Shaik
Karimulla Shaik - avatar
1 Antwort
+ 1
Is there a question and I just don't see it?
3rd Dec 2018, 1:30 PM
HonFu
HonFu - avatar