What is the difference between GETS();AND SCANF();
Answer Posted / bharath
gets() read the string values which allows white spaces
also. whereas, scanf() doesn't allow.
| Is This Answer Correct ? | 230 Yes | 19 No |
Post New Answer View All Answers
What is malloc() function?
What is the sizeof () operator?
what are the different storage classes in c?
Where static variables are stored in memory in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is the difference between Printf(..) and sprint(...) ?
What are c header files?
Which built-in library function can be used to match a patter from the string?
What is the difference between break and continue?
Why is c fast?
What is dynamic variable in c?
Why calloc is better than malloc?
What are categories used for in c?
Explain what is page thrashing?
What is the purpose of void in c?