Character Arrays and Strings in C programming in Tamil | Strings in C

preview_player
Показать описание
#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

Thank you...!!
Рекомендации по теме
Комментарии
Автор

Comparison of array and character array video podunga mam

srinithipriya
Автор

Structures and unions video podunga mam

gayathri
Автор

Mam c program innum vidio poduga man plz❤

pandipandimoorthy
Автор

arithmetic operator on characters in c language video poduga mam

Velvai_Gangsters_Team