Variables and Data Types in C Language | C Tutorial

Published: 22 July 2021
on channel: Jaguar Themes
20
like

What is variable?
-Variable is data name that use to store data value.


Rules for variables:
-Variable name may consist of letter, digits and underscore(_) no other symbols are allow.
-name must start with a letter only.
-Name in variable is case sensitive Total and total both are different
-Name should not be Keyword.
--White space not allow in name.


valid example
total
avg_height


Invalid example:
avg height
1number


Data Types in C language:
C provide Following data type:
-Integer Data types: Use to store number values.
Short int
int
long int
-Floating Point Data type: used to store point value like 2.3 etc
Float
double
long double
-Character Data type: use to store single letter
char


C language tutorial, c programming , c variable , c datatypes, c lang variable , c lang datatype


On this page of the site you can watch the video online Variables and Data Types in C Language | C Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Jaguar Themes 22 July 2021, share the link with friends and acquaintances, this video has already been watched 20 times on youtube and it was liked by like viewers. Enjoy your viewing!