Constant In C Language
- constant क्या है ?
- Numeric Constant:-
- Integer Constant
- Real Constant
- Decimal number system ( 0-7 )
- Octal Number system ( 0-9 )
- Hexadecimal number system ( 0-9, A,B,C.....F )
Data type |
Format specifier |
symbol |
Memory occupy |
Rang |
Interger |
%d |
Int |
2byte |
-32,768
to 32,767 |
character |
%c |
char |
1byte/char |
-128
to 127 |
float |
%f |
float |
4byte |
1.2E-38
to 3.4E+38 |
Long |
%ld |
long |
8byte |
-2,147,483,648
to 2,147,483,647 |
double |
%lf |
double |
8byte |
1.7E-308
to 1.7E+308 |
C language में qualifiers का उपयोग किसी Variable के गुण या व्यवहार को बदलने के लिए किया जाता है। जिसका Effect ( प्रभाव ) सीधे value पर पड़ता है या होता है।
C Character Set :
जैसा की हम जानते है की प्रत्येक language मे words और statements को लिखने के लिए विभिन्न characters के समूहो का उपयोग होता है जिसके अंतर्गत alphabet ,digit और विशेष प्रकार के symbol का उपयोग होता है उसी प्रकार C भाषा के भी कैरक्टर सेट होते है जो कुल 256 कैरक्टर का समर्थन करती है।
हर c प्रोग्राम मे स्ततेमेंट्स होते है इन स्ततेमेंट्स का निर्माण words के प्रयोग से किया जाता है और इन words का निर्माण c character सेट का उपयोग करके किया जाता है
c language मे निम्न character सेट होते है :------
C language supports all the alphabets from the English language. Lower and upper case letters together support 52 alphabets.
lower case letters - a to z
UPPER CASE LETTERS - A to Z
C language supports 10 digits which are used to construct numerical values in C language.
Digits - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
C language supports a rich set of special symbols that include symbols to perform mathematical operations, to check conditions and other special symbols.
सी लैड्ग्वेज special symbol के समूह को support करती है जिसका उपयोग mathematical operations, to check conditions,backspaces आदि के लिए किया जाता है
Special Symbols - ~ @ # $ % ^ & * ( ) _ - + = { } [ ] ; : ' " / ? . > , < \ | tab newline space NULL bell backspace verticaltab etc.,
Welcome to OnlineGuru2020.blogspot.com, your number one source for all things related to Online Education. We're dedicated to providing you the very best of Digital Education, with an emphasis on E-notes,Download Links in PDF and youtube videos etc
OnlineGuru2020 Founded in [2020] by Sapan Kumar Das (Asst. Proff Ramchandi College Saraipali), OnlineGuru2020.blogspot.com has come a way from its beginnings .When I first started, my passion inspired me to start my own blog, seeing the need for students in lockdown2020
We hope you enjoy our products as much as we enjoy offering them to you. If you have any questions or comments, please don't hesitate to contact us.
Contact Datails:-
Mobile Number:-9826026747
Email:-sapam.online@gmail.com
Sincerely,
Sapan Kumar Das
.
Learn More →