(CPS 188) CPS188 C LIBRARY FUNCTIONS WITH CORRECT
SOLUTIONS!!
atof - ANSWER converts a string to a double
atoi - ANSWER converts a string to an integer
atol - ANSWER converts string into long integer
calloc - ANSWER allocates cells in an array dynamically and initializes all cells at zero?
ceil - ANSWER calculates double value representing the smallest number
feof - ANSWER Tests for end-of-file on an open file
fgets - ANSWER reads a string from the input stream
isalnum - ANSWER tests if c is alphanumeric
isalpha - ANSWER tests if c is alphabetic
malloc - ANSWER reverses a block of storage
scanf - ANSWER reads data from stdin into locations given by arg-list
strcmp - ANSWER compares values of 2 strings
SOLUTIONS!!
atof - ANSWER converts a string to a double
atoi - ANSWER converts a string to an integer
atol - ANSWER converts string into long integer
calloc - ANSWER allocates cells in an array dynamically and initializes all cells at zero?
ceil - ANSWER calculates double value representing the smallest number
feof - ANSWER Tests for end-of-file on an open file
fgets - ANSWER reads a string from the input stream
isalnum - ANSWER tests if c is alphanumeric
isalpha - ANSWER tests if c is alphabetic
malloc - ANSWER reverses a block of storage
scanf - ANSWER reads data from stdin into locations given by arg-list
strcmp - ANSWER compares values of 2 strings