out of fgets() and gets()which function is safe to use and
why in c language?
Answer / 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 |
objective type quistion
As stated in the job offer notification, is our basic salary of $7,500.00USD, good for you if employed? In case of any eventuality, who is your next of kin?
Explain what is meant by repetition of information and inability to represent information. Explain why each of these properties may indicate a bad relational database design.
How do you reset or reseed the IDENTITY column?
what is the work of Loopback ?
what is the meaning of vacuum balancing line at glass line or s.s reactor in pharma api industries?
1 Answers Apicore Pharmaceuticals,
difference between user and kernel mode?
Explain the following program segment. f(){ int *b; *b=2; }
What is my favorite sport?
1 Answers NetTantra Technologies,
what is memory interface????
what is difference between server 2008R1 and 2008 server R2?
What are the methods available in storing sequential files ?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)