#include int main() { int val; // warning: format '%d' expects type 'int *', but argument 2 has type 'int' scanf("%d", val); return 0; }