Here is an article that explains how C code is translated into assembly:
https://www.avabodh.com/cin/cin.html
This website also has another article which explains how a C++ code can be understood in terms of C code. https://www.avabodh.com/cxxin/cxx.html