forked from root/public
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
5 years ago
|
## listpushback
|
||
5 years ago
|
|
||
5 years ago
|
### Instructions
|
||
5 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
|
||
5 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
|
||
5 years ago
|
cat
|
||
|
best
|
||
|
the
|
||
|
is
|
||
|
choumi
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/test$
|
||
![]()
4 years ago
|
```
|