About 12,200 results
Open links in new tab
  1. Constants in C - GeeksforGeeks

    Nov 1, 2025 · In C programming, const is a keyword used to declare a variable as constant, meaning its value cannot be changed after it is initialized. It is mainly used to protect variables from being …

  2. Constants in C Language (With Examples) - wscubetech.com

    Learn about Constants in C Language with examples. Understand their types, uses, and syntax to enhance your C programming skills effectively.

  3. C - Constants - Online Tutorials Library

    For example, the value of mathematical constant PI is a high-precision floating point number 3.14159265359, and if it is likely to appear frequently, it is declared as a constant and used by its …

  4. Constant In C | Types, Syntax, Uses (Explained With Examples ...

    Constant In C | How To Define, Rules & Types (+Detailed Examples) Learn all about constants in C—what they are, how to use const and #define, their importance, rules, types, and differences from …

  5. Constants in C : Types, Syntax, Examples & Uses

    Mar 28, 2023 · Constants can be used in expressions, assignments, and function calls. Constants can also be used in conditional statements and loops. Here are the examples. Example 1 of Constants in …

  6. C Constants - W3Schools

    Constants Now that you have seen different types of variables in C, you should also know that sometimes you need variables that should not change. This can be done with the const keyword, …

  7. C Constants - Types and Usage - Tpoint Tech - Java

    Jan 7, 2026 · C programming supports several types of constants, such as integer, floating-point (real), character, string, and enumeration constants. Proper use of constants helps to enhance the code …

  8. C Variables, Constants and Literals - Programiz

    In this tutorial, you will learn about variables and rules for naming a variable. You will also learn about different literals in C programming and how to create constants with the help of examples.