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 multi-core processing?


    Answered by Lori Matassa

  • What is a human-machine interface?


    Answered by John Oliver

  • How does Kazaa work?


    Answered by HowStuffWorks

Advertisement

What are you curious about?

Image Gallery