Author - Shlok Devi
A String in C programming is a sequence of characters terminated with a null character ‘\0’. The C String is stored as an array of characters. The difference between a character array and a C string is that the string in C is terminated with a unique character ‘\0’. 'A String in C programming is a sequence of characters terminated with a null character ‘\0’. The C String is stored as an array of characters. The difference between a character array and a C string is that the string in C is terminated with a unique character ‘\0’.
Declaration:
char string_name[size];
Initialization:-
char str[] = "Revolution Software Development Club";
char str [25] = "Vishwakarma University";
char str [8] = { 'S','T','R','I','N','G','S','\0'};
String Functions:-