Code:#include <stdio.h> int main(void) { char **array; while ( **array != '\0' ){ printf("%s",*array); printf("\n"); **array++; if (**array == '\0') break; } return 0; }
This is printing the words in the array but it won't end. It creates an infinite loop. I always thought a string ended in a null character. Its like it can't find the null character. Anybody know why this would create an infinite loop?