驗證網址www.cplusplus.com安全性

scanf with c-string - C++ Forum - cplusplus.com - The C++ Resources Network

With the fallowing code: int main() {char input[10]; printf("\nEnter a word: "); scanf("%s", &input); printf("You entered %s", input); return 0;} I get a funny warning warning: format '%s' expects type 'char *', but argument 2 has type 'char (*)[10]'|...

網址安全性掃描由 google 提供