Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Tutorial Declaring Variables

Discussion in 'General Programming Discussions' started by Pooja Sharma, Mar 14, 2016.

  1. Pooja Sharma

    Yellow Belt

    Feb 5, 2016
    +20 / -0
    Declaring variable is a good programming practice to declare all variables before they can be used in program.

    Use declare variable to instruct the processor to set aside a location in memory for our use to assign a name to the memory location and to inform the processor what type of data we wish to store there.

    A programmer in VB uses the keyword dim to declares a variable.

    The given figure explains that variable includes name, which stores the value of the type it belongs to.
    #1 Pooja Sharma, Mar 14, 2016 at 8:40 AM
    Last edited: Mar 14, 2016
  2. Swati Mishra

    Yellow Belt

    Dec 28, 2015
    +105 / -0
    when we declare the variables in the programming then it is very important to know what things we have to add with this, such as
    when we use the integer
    when we use the float
    when we use the double
    these things very important to place at the correct otherwise error will occur.

Share This Page