Question: The following are two unsafe standard C library functions. gets ( char * str ) strcat ( char * dest , char * src )
The following are two unsafe standard library functions.
gets char str
strcat char dest char src
a points Explore them using UNIX man pages or any other material on C programming
and explain why they are unsafe.
b points Find a safer alternative for each of them. Why are the suggested alternatives
safer? Provide justifications.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
