c string

Strings are actually one-dimensional array of characters terminated by a null character '\0'. Thus a null-terminated string contains the characters that comprise the string followed by a null.

char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};

https://www.tutorialspoint.com/cprogramming/c_strings.htm

results matching ""

    No results matching ""