Original Post
Hey, I want to write a program that uses character arrays and string to reverse a given string. 1) How can I create a string on the fly. I mean how can reserve memory for my string so that I don't have to define the lengh of it at the beginning. 2) How would a loop look like, which basically switches all the character in the given string to reverse? Thanks in advance