Home > Electronics Tutorials > C Language Tutorial > Identifiers - Strings

C Language Programming Library Reference Guide

Identifiers - Strings

Strings are simply an array of characters encapsulated in double quotes. At the end of the string a null character is appended.


"\x41" and "A" are the same string.

char fred[25]="He said, \"Go away!\"";
The value at fred[9] is a double quote. The value at fred[20] is the null character.
Note: To report broken links or to submit your projects, tutorials please email to Webmaster