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 |
reverse a number ( like 1234 into 4321) using malloc in C programming
can i learn ad. java without learned core java? java is best or .net is best for summer training?
write a program to accept 25 characters and at the end display the largest and smallest among them.
What is OSPF Open shortest Path First attributes?
A company wants to transmit data over the telephone, but it is concerned that its phones may be tapped. All of its data is transmitted as four-digit integers. It has asked you to write a program that will encrypt its data so that the data may be transmitted more securely. Your script should read a four digit integer entered by the user in a prompt dialog and encrypt it as follows: Replace each digit by (the sum of that digit plus 7) modulus 10. Then swap the first digit with the third, and swap the second digit with the fourth. Then output XHTML text that displays the encrypted integer.
program for inter process communicatin using message sharing in unix c
What is the aim of Value Engineering?
0 Answers BPCL Bharat Petroleum,
why pegging is required for deaerator in power plant nd why maintain the constant pressure in deaerator 3.5 kg/cm2.
Based on the Job Description above, please indicate in details why you are a good match for this position?
Why do sausages split lengthways, rather than around the circumference?
what is the command to copy the contents from one directory to other directory?
out of fgets() and gets()which function is safe to use and why in c language?