A variable in simple terms is a storage place which has some memory allocated to it.Basically, a variable used to store some form of data. Different types of variables require different amounts of memory, and have some specific set of operations which can be applied on them.Here is the simple program variables and literals in C programming.
#include<stdio.h> int main() { int a=10; char b='$'; float c=12.5f; long int d=2582l; int aa=0x41; float cc=253e-2f; printf("%d \n %d \n%0.2f",a,b,c); return 0; }To download raw file Click Here
10 36 12.50
Learn All in Tamil © Designed & Developed By Tutor Joes