dcsimg
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.










    LATEST ARTICLES
    Texting & Chat Abbreviations

    From A3 to ZZZ this guide lists 1,500 text message and online chat abbreviations to help you translate and understand today's texting lingo. Read More »

    List of Well-Known TCP Port Numbers

    Port numbers 0 to 1024 are reserved for privileged services and designated as well-known ports. This list of port numbers  are specified in... Read More »

    STUDY GUIDES
    Computer Architecture Study Guide

    Computer architecture provides an introduction to system design basics for most computer science students. Read More »

    Network Fundamentals Study Guide

    Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »

    The Five Generations of Computers

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