Question: what are sprintf and sscanf?
Answer: The sscanf() function reads the values from a char[] array and store each value into variables of matching data type by specifying the matching format specifier. sprintf() The sprintf() function reads the one or multiple values specified with their matching format specifiers and store these values in a char[] array.