Is it possible to compile C to C + +?

The first option is unnecessarily restrictive, unless for some reason you really really love the '89 standard C and you hate all of the new features of later standards. The second option, compiling as C++, can be achieved, as dialer mentions in his comment, by changing the target language type.
For More Information Please Refer:

You May Also Like to Read: