Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- int main(int argc, char** argv, char** surroundings) {
- int counter = 0;
- int N = 0;
- N = atoi(argv[1]);
- for ( ; *surroundings != NULL && counter < N; counter++) {
- printf("%s\n", *surroundings);
- surroundings++;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement