![]() |
![]() |
0207 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C90-7.9, ISO:C90-7.9.6.4 - The scanf Function | ||||||
An argument in this scanf/sscanf/fscanf function call is not of the correct type. It should be of "pointer type" in order to receive the data object which is being fetched. For example:
/*PRQA S 336,602,1302,1307,2017,3122,3200,3209,3227,3408,3602,3625 ++*/
#include <stdio.h>
extern void foo(void)
{
int n;
scanf("%d", &n); /* OK */
scanf("%d", n); /* Message 0207 */
}
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |