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.
 
 
 
 
 
 

380 B

strrevprog

Instructions

  • Write a program that reverses a string and prints it in the standard output.

Expected output :

student@ubuntu:~/[[ROOT]]/strrevprog$ go build
student@ubuntu:~/[[ROOT]]/strrevprog$ ./strrevprog "Hello World!" | cat -e
!dlroW olleH$
student@ubuntu:~/[[ROOT]]/strrevprog$ ./strrevprog
student@ubuntu:~/[[ROOT]]/strrevprog$