Medium
Calling a C library from C++
This C++ file declares void process(int x); and links against a C library object file that exports a symbol literally named process. With no extern "C" on the declaration, does the link succeed?
caller.cpp
void process(int x); // C++ declaration, no extern "C"
int main() {
process(42);
}19 of 44 in Compilers