#include <stdio.h>int main() { char c[]="GATE2011"; char *p=c; printf("%s",p+p[3]-p[1]); return 0;}
Standard input is empty
2011
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!