fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. const char *p = "abcde";
  5. while( *p++){
  6. printf("*p = %c\n", *p);
  7. }
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5332KB
stdin
Standard input is empty
stdout
*p = b
*p = c
*p = d
*p = e
*p =