2 chunks of memory
./hello-3 Zamyla with argv[1]
if no name - null
argv[5000] - segmentation fault - touched segment of memory we should not have
error checking - argc==2
any number of arguments beside 2, program will exit
string - array of char
argv-1 This will print each argument, one per line
argv-2 get the jth char in the string
sorting- bubble sort, selection sort, insertion sort
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
No comments:
Post a Comment