Although my program gives the required output. There are many warnings showing scanf()
shouldn't be used and try using scanf_s()
instead.
Possible cause of this warning??
This is happening to all the programs which are using the scanf function. Even simple addition of numbers.