Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write the control statements in C language

1208


Can we initialize extern variable in c?

1138


Why do we use stdio h and conio h?

1093


How will you divide two numbers in a MACRO?

1141


What is a void * in c?

1078


Which built-in library function can be used to match a patter from the string?

1303


Explain what is a pragma?

1050


What are the types of type qualifiers in c?

1091


What is a null pointer in c?

1234


What is structure padding in c?

1135


Explain what are the different file extensions involved when programming in c?

1113


Explain what is a 'locale'?

1083


Explain what is the difference between the expression '++a' and 'a++'?

1214


What is pointer to pointer in c with example?

1078


Which is an example of a structural homology?

1328