C unsafe functions and their safer variants (10 points) Research each of the following unsafe standard C
Fantastic news! We've Found the answer you've been seeking!
Question:
C unsafe functions and their safer variants (10 points)
Research each of the following unsafe standard C library functions. Explain what the function does and determine a safer alternative to use.
1. gets(char *str)
2. sprintf(char *str, char *fmt, ...)
3. strcat(char *dest, char *src)
4. strcpy(char *dest, char *src) strncpy(char *dest, char *src, int
5. vsprintf(char *str, char *fmt, va_list ap)rr
Related Book For
Posted Date: