Consider this:
Is there another way to access the word "world"?Code:#include <stdio.h> int main(void) { int c; char *argv[] = {"hello", "world"}; printf("%s\n", argv[1]); while (c = *(argv[1])++) putchar(c); return 0; }
Consider this:
Is there another way to access the word "world"?Code:#include <stdio.h> int main(void) { int c; char *argv[] = {"hello", "world"}; printf("%s\n", argv[1]); while (c = *(argv[1])++) putchar(c); return 0; }