What are they using, C or C++ ?

It seems that the team over there has a long-lasting love-and-hate relationship with C and with C++.

I looked into this Official Windows hello world sample (I was talking about) again.

And I am confused. I would like to know what is programing language, the author has chosen for that short program. It seems like C, but then it is in the cpp file, where C++ compiler kicks into action and that makes it the C++ code.