Constants





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;

EXAMPLE:
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 prowessapps.in

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 info@prowessapps.in


Projects For Students

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

Students can mail requirement at info@prowessapps.in



CONTACT DETAILS

info@prowessapps.in
(8AM to 10PM):

+91-8527238801 , +91-9451396824

© 2017, prowessapps.in, All rights reserved