What is variable?
Variable is a memory location where we can store the data.Why need variable?
In programming we can't use data directly. We have to store the data first(on which we are going to process) in memory . This memory is allocated as per Data Type.Features of Variable:
We can Update the data stored in variable.
Rules for Variable Name:
No any symbol like * , dash, Hash, space should be used except underscore.
i.e roll-no , employee name , jan#sal etc.. invalid name.
valid name of variable:
Syntax of Variable:
i.e int a;
float b;
char x;
To learn more about C Programming Langauge at TCCI
Call us @ 9825618292
Visit us @ http://tccicomputercoaching.com/
No comments:
Post a Comment