C Strings

Strings are collections of characters sitting next to each other in memory. The only difference between an array of characters is that you cannot modify string literals, whereas you can modify an array.

Example 1

String Examples

Reverse Words in a String
Reverse String in C
Strip characters from a String in C

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.