Synopsis: | The number of arguments to printf formats should correspond to the actual arguments. |
Language: | C |
Severity Level: | 1 |
Category: | Library |
Description: |
Justification Execution leads to undefined results when the number of output specifiers and arguments do not match. Example printf("There are %d people in total", people, total); /* WRONG */ |