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.

18 lines
532 B

## printstrprog
### Instructions
5 years ago
- Write a program that prints one by one the characters of a `string` passed as an argument of the program.
### Expected output :
```console
student@ubuntu:~/[[ROOT]]/printstrprog$ go build
student@ubuntu:~/[[ROOT]]/printstrprog$ ./printstrprog "Hello World!" | cat -e
5 years ago
Hello World!$
student@ubuntu:~/[[ROOT]]/printstrprog$ ./printstrprog
student@ubuntu:~/[[ROOT]]/printstrprog$
student@ubuntu:~/[[ROOT]]/printstrprog$ ./printstrprog "Hello" "World"
student@ubuntu:~/[[ROOT]]/printstrprog$
```