Constants are named locations in memory that are used to hold a value that cannot be modified by the program.
Constants remain unchanged during the execution of a program.
const keyword is used to declare constant data.
Syntax to declare constants :
const data_type identifier = value;
const float PI = 3.14f;
Type of constants in C :
C constants can be divided into two major categories :1. Primary Constants
2. Secondary Constants
Training For College Campus
We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.
Please mail your requirement at email@example.com
Projects For Students
Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.
Students can mail requirement at firstname.lastname@example.org