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