char array (text)
In C, text is a character array.
Syntax
char name[] = "text";
Description
There is no separate string type in C; text is a char array and ends with a hidden '\0' (terminator).
Example
Loading editor…
Expected output
Alex A
When to use?
Text storage.