out of fgets() and gets()which function is safe to use and
why in c language?
Answer Posted / pragati priya
The function fgets() function is safer to use. It checks the
bounds, i.e., the size of the buffer and does not cause
overflow on the stack to occur. gets() does not check the
bounds.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
synchronous and asynchronous transmission
In HSE what is Lost time accident? why it is to be reported within 48 hrs to gov.authorities ?
Can a Student without engineering background appear for GRE means If he did Bachelor of science in Information technology i.e BSc(IT).
how can determine grounded motor when it alarm at 440volt
Implement the dictionary operations INSERT, DELETE, and SEARCH using singly linked, circular lists. What are the running times of your procedures?
what is recursion in c language?
What is meant by STL?
pls send me the e-book for verbal and non verbal reasoning of R S aggarwall
Are bridges more stable on concrete or on soil - why?
how to make resume and what should I include in it?
searching a B-tree indexed tree compared to B+ tree is slow..True or false
what is different between static block and public static void main??
A company canteen needs an automated system for its food and beverage management. The canteen receives food and beverage items from different distributors. All the non perishable items are stored in the store-room and the perishable items are put in the fridge. The manager should be able to add, delete or update food and beverage items onto the system and perishable and non perishable item details are to be stored separately. Both waiters and the cooks should be able to update the perishable items, but only the cooks should be allowed to update the non perishable items. Both cooks and waiters are not allowed to add or delete any items that are entered. identify the Schema, Table , Fields
what is a query for divide a table into two subtable?
when load increase in generator in island mode, why turbine rpm is reduced