fork download
  1. #include <stdio.h>
  2.  
  3. int f(char t[]) {
  4. return t[0] - t[-1];
  5. }
  6.  
  7. int main(void) {
  8. int i = 2;
  9. i -= f("ABDGK" + 1);
  10.  
  11. printf("%d", i);
  12. return 0;
  13. }
  14.  
  15.  
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
1