Exception thrown at 0x7A4A98F1 (ucrtbased.dll)

-2

I was trying to debug my C code on VS 2019 and this came up on the debugger: Exception thrown at 0x7A4A98F1 (ucrtbased.dll) in file.exe: 0xC0000005: Access violation writing location 0x00321348. occurred. below is the line of code which was giving me problems. This runs on codelite but not on VS.

    scanf_s(" %c%c%c", &input1, &input2, &input3);
c
visual-studio
asked on Stack Overflow Feb 20, 2020 by player_pi

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0