No,read the syntax of scanf(), it is
int scanf(const char *format, ...);
and it's first argument is of const char* type i.e scanf() expects 1st argument as of const char* and 1st argument provided is "ABC" which is of char* type though you should provide some format specifier like %s etc.