C Tokens
- C Language programs are made of various keywords, operators, special symbols and so on. These are called as tokens.सी भाषा कार्यक्रम विभिन्न खोजशब्दों, ऑपरेटरों, विशेष प्रतीकों और अन्य से बने होते हैं। इन्हें टोकन कहा जाता है।
- Any C Language program can not be created without help of one or more tokens. किसी भी सी भाषा कार्यक्रम को एक या अधिक टोकन की सहायता के बिना नहीं बनाया जा सकता है।
- The C Language is having 6 Different tokens. सी भाषा में 6 अलग टोकन हैं।
- Keywords Identifiers
- Constants
- Strings
- Special Symbols
- Operators
KEYWORDS:
- The 32 keywords Defined by The C89 Standard.सी 8 9 मानक द्वारा परिभाषित 32 कीवर्ड।
- There are 32 keywords in C Language.सी भाषा में 32 कीवर्ड हैं।
- Keywords are Special Words which have Specific Meaning.कीवर्ड विशेष शब्द होते हैं जिनका विशिष्ट अर्थ होता है।
- The Name of keywords Cannot be used for any Variable, Constants, Structure, Function, Identifiers.किसी भी चर, स्थिरांक, संरचना, फ़ंक्शन, पहचानकर्ताओं के लिए कीवर्ड का नाम उपयोग नहीं किया जा सकता है।
- All Keywords are in Lowercase. सभी कीवर्ड लोअरकेस में हैं।
- Keywords Not contain Space, Underscore or Number.कीवर्ड में स्पेस, अंडरस्कोर या नंबर नहीं है।
- Maximum Length Is 8.अधिकतम लंबाई 8 है।
IDENTIFIERS
- An Identifier is know as a name of variable, function, array, union etc. An identifier is applied to any variable, function, data definition, etc. In C an identifier is a combination of alphanumeric characters.एक पहचानकर्ता को चर, फ़ंक्शन, सरणी, यूनियन इत्यादि के नाम के रूप में जाना जाता है। किसी पहचानकर्ता को किसी भी चर, फ़ंक्शन, डेटा परिभाषा आदि पर लागू किया जाता है। सी में पहचानकर्ता अल्फान्यूमेरिक वर्णों का संयोजन होता है।
- The Length of Identifiers is 31 Character .Identifiers पहचानकर्ताओं की लंबाई 31 वर्ण है।
- The name of the Identifier can contain Letters, Digits and Underscore(_)..पहचानकर्ता का नाम पत्र, अंक और अंडरस्कोर (_) हो सकता है
- Space, comma, and any other symbol not allowed in name of identifier..अंतरिक्ष, अल्पविराम, और किसी भी अन्य प्रतीक पहचानकर्ता के नाम पर अनुमति नहीं है
- It Start with Alphabet or underscore. But can not start with digit...Alphabet यह वर्णमाला या अंडरस्कोर से शुरू होता है। लेकिन अंक से शुरू नहीं हो सकता है।
- The name of Identifier can’t be name of any Keyword .Identifier पहचानकर्ता का नाम किसी भी कीवर्ड का नाम नहीं हो सकता है।
CONSTANTS :
The major point of constant is the value of constant variable same during the execution of the program. निरंतर का मुख्य बिंदु कार्यक्रम के निष्पादन के दौरान निरंतर चर का मान है।
Value of Constant can’t be change during program execution.कार्यक्रम निष्पादन के दौरान कॉन्स्टेंट का मूल्य बदला नहीं जा सकता है।
There are two types of constant..दो प्रकार के स्थिर हैं
(1) Numeric Constant(संख्यात्मक निरंतर) :
- An Integer Constants is a sequence of digit.एक इंटीजर कॉन्स्टेंट अंक का अनुक्रम है।
- Use any 0-9 degite..0-9 degite का प्रयोग करें
(2) Character Constant..(चरित्र निरंतर) :
- It may contain Single or more than one character.इसमें सिंगल या एक से अधिक वर्ण हो सकते हैं।
- Single Character enclosed with single quote(‘).एकल उद्धरण (') के साथ संलग्न सिंगल कैरेक्टर।
- More than one character(string) is enclosed with double quote(“)..एक से अधिक वर्ण (स्ट्रिंग) डबल कोट (") से घिरा हुआ है
Strings :
- Strings are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’...स्ट्रिंग्स को वर्णों की सरणी के रूप में परिभाषित किया जाता है। एक वर्ण सरणी और एक स्ट्रिंग के बीच का अंतर स्ट्रिंग को एक विशेष वर्ण '\ 0' से समाप्त कर दिया जाता है।
- Declaration of strings: Declaring a string is as simple as declaring a one dimensional array. Below is the basic syntax for declaring a string.तारों की घोषणा: एक स्ट्रिंग घोषित करना एक आयामी सरणी घोषित करने जितना आसान है। एक स्ट्रिंग घोषित करने के लिए नीचे मूल वाक्यविन्यास है।
OPERATORS:
- An Operator is a Symbol that performed Specifiec Mathematic or logical Operation. An operation is an action performed on one or more values either to modify the value held by one or both of the variables or to produce a new value by combining variables. An operation is performed using at least one symbol and one value. The symbol used in an operation is called an operator. A variable or a value involved in an operation is called an operand. एक ऑपरेटर एक प्रतीक है जो विशिष्ट मैथमैटिक या लॉजिकल ऑपरेशन करता है। एक ऑपरेशन एक या दोनों मानों पर किए गए मान को संशोधित करने के लिए या चर के संयोजन द्वारा एक नया मान उत्पन्न करने के लिए एक या अधिक मानों पर किया गया एक क्रिया है। एक ऑपरेशन कम से कम एक प्रतीक और एक मान का उपयोग करके किया जाता है। एक ऑपरेशन में इस्तेमाल प्रतीक को ऑपरेटर कहा जाता है। ऑपरेशन में शामिल एक चर या मूल्य को ऑपरेंड कहा जाता है।
- For example A+B..उदाहरण के लिए ए + बी
- here A,B is operand and + is operator..यहां ए, बी ऑपरेंड है और + ऑपरेटर ह||
तो दोस्तों अगर आपको हमारा ऐ blog पसंद आया तो Like और Share जरूर करे।
stud21022@gmail.com
c भाषा प्रोग्रामिंग कोड उदाहरण
ReplyDeleteटर्मिनल पासवर्ड उदाहरण नमूना कोडिंग