Write a program that will print "C" if compiled as an (ANSI) C program, and "C++" if compiled as a C++ program
Taken from http://www.ocf.berkeley.edu/~wwu/riddles/cs.shtml
It looks very compiler specific to me. Don\'t k开发者_运维知识库now where to look for?1. Abuse C++ automatic typedefs
问答
阅读(1)