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 |
How to access control's information on the another page.without using state management techniqe like cookies,session,viewstate,application state.
convert 140 N.m/cm^2 to N.m/mm^2
A code which had some declarations of some data items. There were a couple of normal data items(char,int..) and some pointers as well and a malloc call. You have to find the total memory taken up in the stack(Hint:Pointers and all are allocated in heap, not in stack, so dont count them).Also in most of these questions, they were specifying that the OS was 32 bit
why pegging is required for deaerator in power plant nd why maintain the constant pressure in deaerator 3.5 kg/cm2.
Explain work?
is a student eligible to sit in the campus selection after getting 55% marks in class 12th.
Whatis Bandwidth?
What is the difference between buzzer,hooter & bell placed on annunciation panels ?
how we can improve mobile ad,hoc network.
why do we use first angle projection and third angle projection only and not 2nd and 4 thangle projections?
How does Earthquake-proofing work?
which topics are come from quizs
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)