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?
  • How does the operating system manage the computer's CPU?

    Answered by Science Channel

  • What technologies enable activity recognition?

    Answered by Lama Nachman

  • How has Microsoft been able to maintain its business success?

    Answered by Science Channel


What are you curious about?

Image Gallery