Global Declaration:
main():
- Some Variable can be used in more than one function, union, user define function, structures in C Language Program..कुछ वैरिएबल का उपयोग एक से अधिक फ़ंक्शन, यूनियन, उपयोगकर्ता परिभाषित फ़ंक्शन, सी भाषा कार्यक्रम में संरचनाओं में किया जा सकता है।
- Such Variable are called global variable. इस तरह के परिवर्तनीय वैश्विक चर कहा जाता है।
- Global Variable declare in Global Declaration Section. ग्लोबल वैरिएबल घोषणा वैश्विक घोषणा अनुभाग में घोषित करें
- Global variables are known throughout the program and may be used by any piece of code. Also, they will hold their value throughout the program's execution. You create global variables by declaring them outside of any function.वैश्विक चर पूरे कार्यक्रम में जाना जाता है और कोड के किसी भी हिस्से द्वारा इसका उपयोग किया जा सकता है। साथ ही, वे कार्यक्रम के निष्पादन में अपना मूल्य धारण करेंगे। आप किसी भी फ़ंक्शन के बाहर उन्हें घोषित करके वैश्विक चर बनाते हैं
main():
- Every C Program must have a specific function named main().प्रत्येक सी प्रोग्राम में मुख्य () नामक एक विशिष्ट कार्य होना चाहिए।
- It is special because the execution of any program starts at a beginning of its main() function.यह विशेष है क्योंकि किसी भी प्रोग्राम का निष्पादन इसके मुख्य () फ़ंक्शन की शुरुआत में शुरू होता है।
- The main() function of C Language contain two parts.Language सी भाषा के मुख्य () फ़ंक्शन में दो भाग होते हैं
तो दोस्तों अगर आपको हमारा ऐ blog पसंद आया तो Like और Share जरूर करे।
stud21022@gmail.com
c प्रोग्रामिंग सीखने में मदद करने के लिए उदाहरण
ReplyDeleteलिंक्ड सूची कार्यान्वयन कोड नमूना