int vsscanf(const char * restrict, const char * restrict, va_list); void test(const char *s, int *i) { scanf(s, i); // expected-warning{{format string is not a string ...
scanf() is basically a function declared in stdio.h and it takes input from standard input stream i.e keyboard and places it in the desired location. scanf() has two parts : 1. Format string 2.