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
What do you like and dislike about working for this organisation?
Whet is KCFT and difference between CFM and KCFT
Write a program using string fuctions that accepts a price of an item and display its coded value. The base of the key is: X c o m p u t e r s 0 1 2 3 4 5 6 7 8 9
What is meant by STL?
Explain the concept of segmentaion.
WHY WE SELECT U AS A PERTOLEUM ENGINEER THOUGH UR MARKS ARE LESS THEN OTHER APPLICANTS
How will I MOve Comp-1 variable into next variable without using Move statement?
plz explain abt refrigeration r22 bitzer comprassors trouble shooting and maintenance
Why is using C language
please send aptitude test papers for reference with answers
nohup sort employees > list 2 > error out & what will happen?
what is the difference between C and C++? what is the difference between scanf and gets? what is mean by extern what is the use of it? what will happen if i say delete this> Difference between C structure and C++ structure? What is the difference between overloading and overridding? Explain the need for "virtual Destructor" Can we have "virtual Constructors"? What is the different types of polymorphism> What is virtual functions? How to implement virtual function in "C"? What are the different types of storage classes?
how configur net and vpn on cisco product
what is the main fuction of OSPF in a internetwork? how does work of same network?
hiiiiiiii to all am going to prepare J.T.O (BSNL)posts am studying B.Tech final year cse........ but its all about electronic subjects....so tell me where can i get previous papers? give me some sites plzzzzzz.........