#include<stdio.h>int main(){char*a="++",z=sizeof'c'/2;printf("This program wasn't written in C%s, it was built for C%s!\n",a+z,a+2-z);}
Standard input is empty
This program wasn't written in C, it was built for C++!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!