I'm working on c++ project. One of my project files has extension c. Will compiler compile whole project using c++ or it will compile c++ files an c file separately and then link them somehow?
my c file contains code:
#ifdef __cplusplus
extern "C" {
#endif
How compiler will deal with c file in case I set Compile as C++ Code(/TP) ?