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

What is malloc() function?

1096


What is the sizeof () operator?

1010


what are the different storage classes in c?

1116


Where static variables are stored in memory in c?

945


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1016


What is the difference between Printf(..) and sprint(...) ?

1422


What are c header files?

946


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

1235


What is the difference between break and continue?

1384


Why is c fast?

1002


What is dynamic variable in c?

985


Why calloc is better than malloc?

970


What are categories used for in c?

1033


Explain what is page thrashing?

1052


What is the purpose of void in c?

990