fork(2) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. int main(void) {
  6. char *str = " teste";
  7. while (*str++ == ' ');
  8. str--;
  9. printf("%s", str);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
teste