-->
Showing posts with label WAP to understand definition of variables.. Show all posts
Showing posts with label WAP to understand definition of variables.. Show all posts

WAP to understand definition of variables.

//program to understand definition of variables
#include <iostream>// header file
using namespace std;//to handle all standard characters/functions,reserved words  used in program. we do not use in turboc++ compiler

int main()      // main function
{
    int number;  //declaration of variable.
     number=90;//definition of variable
    cout << "number =" <<number<< endl;
    return 0;
}