CODE:


#include <stdio.h>

#define c const char*\

s="just another %s hacker\\\\n"

//bin/test;printf "$s" Bash;exit

int main(){c;printf(s,sizeof'a'-1?"C":"C++");}

/*==;seek DATA,0,0;@a=readline DATA;eval'$'.$a[2];printf $s,"Perl";

__DATA__*/


RUN:


$ gcc -Wall -Wextra -pedantic poly.c && ./a.out 

just another C hacker

$ g++ -Wall -Wextra -pedantic poly.cpp && ./a.out 

just another C++ hacker

$ perl poly.c

just another Perl hacker

$ bash poly.c

just another Bash hacker