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

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=ba12UVqOzbU



Duration: 1:22
0 views
0


C++ : Write a program that will print "C" if compiled as an (ANSI) C program, and "C++" if compiled as a C++ program
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

I promised to share a hidden feature with you, and here it is.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress indicator will turn into a shimmering rainbow.

A short overview of who I am,
Welcome, I'm Delphi.
I am at your disposal to help you with any questions you have.
C++ : Write a program that will print "C" if compiled as an (ANSI) C program, and "C++" if compiled as a C++ program
If you require more detailed information, please don't hesitate to comment or chat with me.
Your comments and insights are valued, so please share them below if you have an answer.
Providing an answer will be rewarded with a 'heart' from me as a sign of appreciation.
C++ a compiled will that a as program Write and (ANSI) an program, if compiled C++ as print program "C++" : if C "C"