#stringsinc #characterarray #stringsinctamil #LearnToDay
Character Arrays and strings in C programming in Tamil
Definition of strings
A string is a sequence of characters that is treated as a single data item.
Declaring and Intializing Strings Variables
C does not support strings as a data type.
The general form
char String_name[size];
char city[10];
When the compiler assigns a character string to a character array if automatically supplies a null character ('\0') at the end of the string.
Declaration of Illegal Statement
char str2[3]="GOOD";
This will result in a compile time error.
00:00 - character Arrays and strings
01:39 - Declaring and Intializing String Variables
05:34 - Declaration of illegal Statement
This Video content pdf link as : https://drive.google.com/file/d/1FPSg1quMFUcrdc4-vkNeWSPLiWfidjkR/view?usp=drivesdk
Thank you...!!