mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
395 B
21 lines
395 B
6 years ago
|
## listpushback
|
||
6 years ago
|
|
||
6 years ago
|
### Instructions
|
||
6 years ago
|
|
||
|
Write a program that creates a new linked list and includes each command-line argument in to the list.
|
||
|
|
||
5 years ago
|
- The first argument should be at the end of the list
|
||
6 years ago
|
|
||
|
And its output :
|
||
|
|
||
|
```console
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$ go build
|
||
|
student@ubuntu:~/[[ROOT]]/test$ ./listpushparams choumi is the best cat
|
||
6 years ago
|
cat
|
||
|
best
|
||
|
the
|
||
|
is
|
||
|
choumi
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$
|
||
5 years ago
|
```
|