Enter Ur Email ID To Get Study Material & Latest Job Updates In Mail Inbox:
(Please activate subscription from your mail Inbox)  FeedBurner

Home » » Types Of Constant In C Programming Explain

Types Of Constant In C Programming Explain

Written By Unknown on Thursday, 28 November 2013 | 1:04 pm

Types Of Constant In C Programming Explain


CSE-IT-LIVE-PROJECTS photo IvaN9_zpsaf03fabd.jpgWhat are the types of constant: 
                                                      5 types of constant are in c language.
  1. Integer Constant.
  2. Floating Point Constant. 
  3. Character Constant. 
  4. String Constant.
  5. Enumeration Constant.

Integer Constant: 
Integer constants are the numeric constants or constant associated with numbers without any fractional part or exponential part. 
There are three types of integer constants in C language: 
1. decimal constant(base 10).
2. octal constant(base 8).
3. hexadecimal constant(base 16).

Floating Point Constant:  
Floating point constants are the numeric constants that has either fractional form or exponent form.

Character Constant:
Character constants are the constant which use single quotation around characters.

String Constant: 
String constants are the constants which are enclosed in a pair of double-quote marks.

Enumeration Constant: 
Keyword enum is used to declare enumeration types.



                                        
Search Keyword: Integer Constant In C Programming, Types Of Constant, How to declare constant.
CSE-IT-LIVE-PROJECTS photo rsz_11preparation-for-a-job-interview_zps90fdf933.jpg
                                                                                                                                         

0 comments:

Post a Comment

Thanks For Your Comment. We Get Back To You As Soon As Possible.