Structure in C Language In Hindi – Is Post Me Ham C Language Ka Structure Dekhne Wale Hai, Or Structure Ko Ham With Example Ke Sath Cover Karenge |
C Programming me structure ko understand karne ke liye aapko is post ke example ko dekh na padega and c language ka structure easy hai usse ham ek ek karke samnjte karte hai |
Structure in C Language In Hindi
Contents

C programming ka basic structure is image me dekh sakte hai agar aapko samanj nhi aa rha hai. to me aapko ek ek karke samnjta hu |
C language structure me six part hote hai jese ki aap uppar di gyi image me dekh sakte hai . Lekin ham aapko ek ek karke batate hai
- Documentation Section
- Link Section
- Definition Section
- Global Declaration Section
- main
- subprogram section
Documentation Section In C In Hindi
Documentation Section C programming me comments ke liye use hota hai |
Example:
// sample program created by Danish
Link Section in C In Hindi
Link Section C programming me jab ham header file add karte hai usse hi link section kahte hai |
Example:
#include<stdio.h> // link section #include<conio.h> // link section
Definition Section In C In Hindi
Definition Section c language me jab ham void function(); ko program add Karte hai use definition section Kahte hai
Example:
#include<stdio.h> #include<conio.h> // link section void main() // definition section
Global Declaration Section In C In Hindi
Global Declaration Section Jab ham use karte hai jab hame kisi variable ki value ko constant rakhna ho and usse ham main program se uppar use karte hai |
Example:
#include<stdio.h> #include<conio.h> int a=20; // global variable & declare constant value main()
Main () In C In Hindi
Main () Program se c language me Program Execute start Hota Hai. Jese ki jab ham Main write Karte hai to c programming me compiler ko pta chal jata hai ki program main se start karna hai & iske two part hote hai pahla declaration part & second executable part |
Example
void main() { clrscr(); printf("This is the main program"); }
Subprogram Section in C In Hindi
Sub program me user define function ko use kiya jata hai. user define function means jo function user define karta hai |
Example
void main() { printf("Hello World"); }
Aap Dekh Sakte Hai Ki Hamne Structure in C language ka aaj structure ko acchi tarah se understand kiya hai lekin agar aapko abhi bhi dikkat hai to aap upper diye gye image ko dekh sakte hai and understand ho sakte hai |
Dosto mujhe ummed hai ki aap Structure in C Language ko acchi tarah se samanj gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre or ha agar aap video bhi dekhna chahte hai to aap mere channel ko bhi subscribe kar sakte hai. channel ka link aapko home page par mil jayega |