Report question

Question: Write a program that will print "C" if compiled as an (ANSI) C program, and "C++" if compiled as a C++ program