[c] What is the difference between sscanf or atoi to convert a string to an integer?