Question: How can C++ code call a C function?

  1. by simply calling the C code
  2. there is no way for C++ to call a C function
  3. by using extern "C"
  4. by importing the source C code

Answer: The correct answer of the above question is Option C:by using extern "C"