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 |
what is the diffeence between SQL and ORACLE?
difference between user and kernel mode?
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options.
If you had a cylinder, sealed at both ends, with the pressure rising inside, would it blow at the end or split along the side first?
What were the most energizing/enjoyable aspects of your job in this given period?
Given a number (N), program to check whether its binary form has periodic or not
What are the fundamental differences between Engineering and Physics?
How will a tester be sure that He’s covered the entire functionality in his Test case and not missed out anything?
what is the cycle between AHU and Chiller
how 2 write a program of this pattern usin for loop?? 1 2 3 4 5 6 7 8 9 10
what are the examples of E-Based Applications?
A rectangular plank (2)1/2 meters wide can be placed so that it is on either side of the diagonal of a square shown below.(Figure is not available) What is the area of the plank?