How to Declare, Initialize and Display value of int variable in C (Hands-on) | C Programming

preview_player
Показать описание
In this video, you will learn how to declare an integer (int) variable in C, initialize the variable and display the value of the variable on the output screen using printf statement.

Integer variables in C are the variables capable of holding integer numbers i.e., whole numbers like 0, 1, 2, 3, and so on.

How to declare an int variable in C?
In order to declare an int variable, you can do so by following the below syntax:
int variable_name;

How to initialize an int variable in C?
You can use the '=' assignment operator in order to assign value a value to a variable.
For e.g., count = 10;
Here, value 10 will be assigned to a variable named "count"

## Some helpful resources ##

#aptuts #howToDeclareIntVariableInC #CProgramming
Рекомендации по теме
Комментарии
Автор

Thank You Sir For Explaining in Proper Manner
our C Programming teacher Confuses US

sohamganmote
Автор

You are a great teacher. I learned from your video very clear and practical. Thank you and I will wait to see more videos from you

ParsaAfghan
Автор

if u do in decimals, it wont execute after point that is when we use float to print decimal values

alluripranitha
Автор

good... though too fast for beginners

roberachar
join shbcf.ru