Oct 30, 2015 at 3:59pm
You are using the + operator on chars which will do simple integer addition.
You could do something like this instead:
This will construct a new string containing the three characters a[1], a[2] and a[0] and then assign it to b.
Last edited on Oct 30, 2015 at 4:03pm