Why gets replaced by (a) the scanf (" % s ", a) complains
CodePudding user response:
Wrong may not have the reason, with specific error message to seeCodePudding user response:
Advice posted your code, and explain your compiler;V does not support the scanf function but support safer scanf_s function, because for % s, more than the scanf one parameter, namely a, the length of the array.