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
Write the control statements in C language
Can we initialize extern variable in c?
Why do we use stdio h and conio h?
How will you divide two numbers in a MACRO?
What is a void * in c?
Which built-in library function can be used to match a patter from the string?
Explain what is a pragma?
What are the types of type qualifiers in c?
What is a null pointer in c?
What is structure padding in c?
Explain what are the different file extensions involved when programming in c?
Explain what is a 'locale'?
Explain what is the difference between the expression '++a' and 'a++'?
What is pointer to pointer in c with example?
Which is an example of a structural homology?