Accessing structure members

Accessing structure members If you want to access the structure members individually in the C program, then you can use the dot (.) operator in the structure to work directly with the declared structure variable. Similarly, when you use pointers in the structure, you call the structure members using the arrow (->) operator. So let's…

Comments Off on Accessing structure members

Structure pointers in hindi

Structure pointers in hindi स्ट्रक्चर डाटा टाइप मेंबर्स के लिए पॉइंटर्स ऑपरेटर का उपयोग आपको डिक्लेअर स्ट्रक्चर के अंदर स्ट्रक्चर डेटा टाइप मेंबर्स को कुशलतापूर्वक हेरफेर करने और स्ट्रक्चर मेंबर को मेमोरी एड्रेस लोकेशन से एक्सेस करने की सुविधा प्रदान करते हैं. स्पेशल्ली जब स्ट्रक्चर में डायनेमिक मेमोरी अलॉटमेंट या फ़ंक्शन को स्ट्रक्चर में पास…

Comments Off on Structure pointers in hindi

Nested structures c In hindi

Nested structures c In hindi नेस्टेड स्ट्रक्चर C प्रोग्रामिंग में जब किसी स्ट्रक्चर में एक अन्य सब स्ट्रक्चर को डिक्लेअर करते हैं. जो किसी स्ट्रक्चर के अंदर एक अन्य स्ट्रक्चर मेंबर की तरह डिक्लेअर होते है. उन्हें नेस्टेड स्ट्रक्चर डाटा टाइप कहा जाता है. जब कभी आपको किसी अन्य स्ट्रक्चर के अंदर नए अन्य प्रकार…

Comments Off on Nested structures c In hindi

Accessing structure members in c Hindi

Accessing structure members in c Hindi यदि आप सी प्रोग्राम में डिक्लेअर स्ट्रक्चर मेंबर्स को इंडिविजुअल एक्सेस करना चाहते है. तो आपको डिक्लेअर स्ट्रक्चर मेंबर तक पहुँचने के लिए डिक्लेअर स्ट्रक्चर वेरिएबल के साथ सीधे काम करने के लिए स्ट्रक्चर में डॉट (.) ऑपरेटर का उपयोग कर सकते है. इसी तरह आप स्ट्रक्चर में पॉइंटर्स…

Comments Off on Accessing structure members in c Hindi

Structure Declaration and definition

Structure Declaration and definition Use of Structure Data Type (Structure) Members In C Programming, different types of program data type variables are grouped together and processed under a single structure member name. Structures in C language provide you the features to create and process complex data type programs. Remember that any C program structure can…

Comments Off on Structure Declaration and definition

Structure Declaration and definition in hindi

Structure Declaration and definition in hindi स्ट्रक्चर डाटा टाइप (स्ट्रक्चर) मेंबर का उपयोग C प्रोग्रामिंग में विभिन्न प्रकार के प्रोग्राम डेटा टाइप वेरिएबल को एक ही स्ट्रक्चर मेंबर नाम के अंतर्गत एक ग्रुप में समूहीकृत कर प्रोसेस किया जाता है। सी लैंग्वेज में स्ट्रक्टरर आपको जटिल डेटा टाइप प्रोग्राम को बनाने और उन्हें प्रोसेसिंग फीचर्स…

Comments Off on Structure Declaration and definition in hindi

Character arrays vs. string literals

Character arrays vs. string literals Character arrays and string literals are used in C programming to fulfill different programming tasks, and they have different string array properties. Especially they are used to solve some specific string operations. Character array declaration in C. Character array declaration and initialization. char text[50]; // 50 Character array declaration named…

Comments Off on Character arrays vs. string literals

String manipulation functions (strcpy, strcat, strlen, etc.)

String manipulation functions (strcpy, strcat, strlen, etc.) String Manipulation Built-in string functions are used in C programming language to perform various types of string operations on string text or paragraphs. You can apply many string operations in C program by declaring character string as array such as copying a string, joining two different strings, comparing…

Comments Off on String manipulation functions (strcpy, strcat, strlen, etc.)

String Declaration and initialization

Declaration and initialization Strings data type is usually used in C programming language to store character string array text or small paragraph information. Because C language stores and displays 1 byte single character in character data type by default. It is more convenient and easy to declare and process string as array in C program.…

Comments Off on String Declaration and initialization

Character arrays vs. string literals in hindi

Character arrays vs. string literals in hindi कैरेक्टर एरे और स्ट्रिंग लिटरल का C प्रोग्रामिंग में अलग-अलग प्रोग्रामिंग कार्यो की पूर्ति के लिए उपयोग करते हैं, और इनमें अलग-अलग स्ट्रिंग ऐरे विशेषताएँ होती हैं. खासकर इनका उपयोग कुछ विशिष्ट स्ट्रिंग्स ऑपरेशन को हल करने में किया जाता है। Character array declaration in C. Character array…

Comments Off on Character arrays vs. string literals in hindi