`extern "C"` is used to indicate that C++ functions and variables should have C linkage instead of C++ linkage, allowing C and C++ modules to interact with each other.
I had an interview recently and one question asked was what is the use of extern "C" in C++ code. …
c++ c name-mangling extern-cI have a cpp code in which I want to call a c function. Both compile well to .o files, …
c++ clang extern-c