C in Visual Studio Projects can contain C and C code. The cl compiler recognizes the file extension and compiles it accordingly.
Files ending in .c are compiled into C code. Files ending in .cpp or .cxx are compiled Compile to C. This can be changed as per the documentation here
C and C are different languages, I can still compile them in Visual Studio 2010 under the C project. This Why? Does the compiler interpret C files as C language?
No, it is compiled into C code.
C projects in Visual Studio can contain C and C code. cl compiler recognizes File extension and compile it accordingly.
Files ending in .c are compiled into C code. Files ending in .cpp or .cxx are compiled into C. This can be changed according to the documentation here< /p>