fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. int num_words = 5;
  4. char *words[] = {"who", "what", "where", "when", "how"};
  5. for (int i = num_words - 1; 0 <= i; i--) {
  6. if ( **(words + i) == 'w') {
  7. printf("%s ", *(words + i) + 1 );
  8. }
  9. }
  10. printf("\n");
  11. return 0;
  12. }
Success #stdin #stdout 0s 4120KB
stdin
Standard input is empty
stdout
hen here hat ho