Computer Software

How is a variable used in computer programming?
Answered by Discovery Channel
  • Discovery Channel

    Discovery Channel

  1. When you are writing a computer program, you will often want the program to be able to "remember" a value. You can do this by assigning the important value to a named variable. Variables are categorized by the types of data they store. Several standard types of variables used by the C programming language are the following:

    • int, which is an integer (a whole number).
    • char, which is a single character like "a" or "b."
    • float, which is a floating-point value.

     

    More answers from Discovery Channel »



Still Curious?
  • What is the heap?


    Answered by Discovery Channel

  • How are microprocessors improving?


    Answered by Eric Mantion

  • Can someone maliciously take control of my computer remotely?


    Answered by Discovery Channel

Advertisement

What are you curious about?

Image Gallery