extracting evil
This commit is contained in:
parent
41e45ff12a
commit
8f7bd1099c
4
ex10.c
4
ex10.c
@ -4,7 +4,9 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
for(i = 0; i < argc && printf("arg %d: %s\n", i, argv[i]); i++);
|
for(i = 0; i < argc; i++) {
|
||||||
|
printf("arg %d: %s\n", i, argv[i]);
|
||||||
|
}
|
||||||
|
|
||||||
char *states[] = {
|
char *states[] = {
|
||||||
"California", "Oregon",
|
"California", "Oregon",
|
||||||
|
Loading…
Reference in New Issue
Block a user