A variable is a name that may be used to store a data value.
Unlike constant, variables are changeable, we can change value of a variable during execution of a program.
A programmer can choose a meaningful variable name.
Example : average, height, age, total etc.
_
.Declaration of variables must be done before they are used in the program. Declaration does two things.
//Write a Program for Addition of two Numbers.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sum; //variable declaration
a=30;
b=20;
sum=a+b;
printf("Sum is %d",sum);
getch();
}
Hi students i will show you how to download programs without share on fb. step 1 : open developer tools "ctrl+shift+i" step 2 : goto console step3 : type $("pre").html(); step 4 : All Done your program is here :)
Hi please check it twice and let me know it is possible right now???
Hi Rajan It's not fault of the site... It's a fault of Google chrome browser..
Ask Question