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?
    Taking Ownership through Digital Governance

    Taking ownership of our own misjudgments or simple forgetfulness takes a healthy amount of humility and some honest self-assessment. Yet sometimes... Read More »

    Have We Become a World of Addicts?

    It's hard to imagine our lives without smartphones. But people who suffer separation anxiety when they don't have their phones nearby may be in... 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
    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 »

    Network Fundamentals Study Guide

    A network is a group of two or more computer systems or devices, linked together to share resources, exchange files and electronic communications.... Read More »

    Computer Architecture Study Guide

    This Webopedia  study guide describes the different parts of a computer system and their relations. Read More »