very stupid question...

The arduino environment also gives the the ability to combine pure "C" pieces of a sketch with C++ pieces of a sketch, automatically using the correct compiler for each source file.