The following is an example of a conversion specification: main () { char str[] = "4 17"; int temp, temp2; sscanf(str, "%d %d", &temp, &temp2); printf("The answers are %d and %d.", temp, temp2); } This example produces the following output: $ RUN EXAMPLE The answers are 4 and 17.