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...

How to avoid buffer overflow?

Answer Posted / nashiinformaticssolutions

Use bounds-checking functions like fgets() instead of unsafe functions like gets().

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is 'bus error'?

1157


What is p in text message?

988


Explain how do you print an address?

1146


What is "Duff's Device"?

1171


What is main () in c language?

1135


Can static variables be declared in a header file?

1062


How can I open a file so that other programs can update it at the same time?

1187


What are types of functions?

1044


How can I recover the file name given an open stream or file descriptor?

1082


What is typedf?

1127


What is the difference between arrays and pointers?

1131


cavium networks written test pattern ..

4083


What are the valid places to have keyword “break”?

1091


Explain what is the advantage of a random access file?

1126


What is the use of pragma in embedded c?

1063