Webopedia on Google+Webopedia on TwitterWebopedia on FacebookTech Bytes Blog
Main » TERM » C »

constant

In programming, a constant is a value that never changes. The other type of values that programs use is variables, symbols that can represent different values throughout the course of a program.

A constant can be

  • a number, like 25 or 3.6
  • a character string, like "this is a string"
  • Constants are also used in spreadsheet applications to place non-changing values in cells. In contrast, a spreadsheet formula can produce a different value each time the spreadsheet is opened or changed.







    TECH RESOURCES FROM OUR PARTNERS
    DID YOU KNOW?
    The Five Generations of Computers

    Learn about each of the five generations of computers and major technology developments that have led to the current devices that we use today. Read More »

    Small Business Marketing's Greatest Hits

    The following compilation of small business marketing tips highlights some of the expert advice published over at Small Business Computing. Read More »

    13 Best Free Android Apps

    From secure messaging to document editing, our top free must-have apps have been rated, reviewed and named the best free Android apps of 2015. Read More »

    QUICK REFERENCE
    5 Best Cloud Storage Services

    With cost and security in mind, we look at five cloud storage options that will suit the needs of most home and SMB owners. Read More »

    Windows 10 Tips for Desktop PC

    Five basic tips to help you customize Windows 10 on your desktop PC. Read More »

    29 Free Android Apps for Cash-Strapped Students

    From wacky alarm clocks to lecture hall tools and after class entertainment, these Android apps are a good fit for a student's life and budget. Read More »