C++ Programming in Linux Tutorial #010 – Calling C function from C++ program using extern “C”

Video is ready, Click Here to View ×


C++ Programming in Linux Tutorial using g++ GNU compiler. An example on how to call a C function that is in a C library or object file. C++ needs to declare extern “C” statement to resolve name mangling during compilation and linking stages.

1 Comment

Leave a Reply

Your email address will not be published.


*