fork download
  1. #include <stdio.h>
  2.  
  3. void asdf_mother(char ** t) {
  4. (*t)++;
  5. }
  6.  
  7.  
  8. void asdf(char ** t) {
  9. asdf_mother(*&t);
  10. }
  11.  
  12.  
  13. main() {
  14. char t[] = "DC IN";
  15. char * tx = t;
  16. char z;
  17. asdf(&tx);
  18. z = *tx;
  19.  
  20. printf("t = %s, tx = %s, z = %c\n", t, tx, z);
  21. return 0;
  22. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
t = DC IN, tx = C IN, z = C