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