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 do you prevent buffer overflows in C?

Answer Posted / glibwaresoftsolutions

• Use bounds checking while working with arrays.
• Use safer functions like snprintf() instead of sprintf().

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many keywords (reserve words) are in c?

1138


how should functions be apportioned among source files?

1098


What are c header files?

990


What is cohesion and coupling in c?

1031


Without Computer networks, Computers will be half the use. Comment.

2296


Explain what is meant by high-order and low-order bytes?

1044


What is calloc()?

1069


Explain the difference between call by value and call by reference in c language?

1109


Why double pointer is used in c?

1035


How can you read a directory in a C program?

1141


What is spark map function?

1125


Write a program to swap two numbers without using a temporary variable?

1120


Explain the process of converting a Tree into a Binary Tree.

2666


what is the diffrenet bettwen HTTP and internet protocol

1833


Are bit fields portable?

1155