fork download
  1. #include <stdio.h>
  2. int main()
  3. { char c[] = "MCAGATE2024";
  4. char *p =c;
  5. printf("%s", p+p[3]-p[2]+1) ;
  6. return 0; }
  7.  
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
2024