very stupid question...

C++ is a superset of C. All C code is valid in C++.

Your code gets compiled by a C++ compiler, and you can use C++ constructs on the Arduino. That said most people tend to use the 'C++ as a better C' paradigm.