Runtime error: addition of unsigned offset in leetcode
I was solving a question on Leetcode(322. Coin Change) and I wrote my solution which is working on VScode. the code is:
C: The dangers of overflow using sprintf and how to avoid them
I’ve been using an IDE making calls to the compiler without me having to configure much, but from the options I can see it seems my project is set to use gnu99 for the C Language Standard and gnu++11 for the C++ Language Standard, while using gcc version 4.2.1.