Constants :

  • 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

Next topic is specialsymbols


Training For College Campus

We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.

Please mail your requirement at

Projects For Students

Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.

Students can mail requirement at

(8AM to 10PM):

+91-8527238801 , +91-9451396824

© 2017,, All rights reserved