書式指定子の数が引数の数と一致しません。
ID |
問題箇所 |
説明 |
---|---|---|
1 |
書式の不一致 |
書式文字列が使用された場所 |
#include <stdio.h> extern int x,y; int main(int argc, char **argv) { printf("%s"); // too few arguments: uses a random word on the stack as a string printf("%-2d", x, y); // too many arguments (y is ignored) }
© 2010 Intel Corporation. 無断での引用、転載を禁じます。