fork(1) download
  1. #include<stdio.h>
  2. 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);}
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
This program wasn't written in C, it was built for C++!