What Are Preprocessor Directives Of C In Hindi

हेलो फ्रेंड्स, आज के इस blog post(Preprocessor Directives Of C In Hindi) में मैं आपको C में use होने वाले preprocessor directives के बारे में बताने जा रहा हूँ|

प्रत्येक प्रोग्राम की पहली लाइन #Include से प्रारम्भ होती है| यह न तो statement है और न ही function body का कोई भाग है|Preprocessor Directives Of C In Hindi|

बल्कि यह hexa चिन्ह से प्रारम्भ होता है | इसे ही preprocessor directives कहते है |Preprocessor Directives Of C In Hindi|

यह compiler के लिए एक निर्देश होता है, क्योकि यह compiler का ही एक भाग होता है जो इन directives(Preprocessor Directives Of C In Hindi) की compilation प्रोसेस को पूरा करता है |

#Include directives :

compiler को यह सूचना प्रदान करता है कि source फाइल में दूसरी फाइल insert कि जा रही है |

#include<stdio.h>

C language में सबसे important header file है, जो प्रोग्राम में use किये जाने वाले सभी input और output function को implement करती है |

inlcude<conio.h>

इस header फाइल में screen clear करने तथा output प्रिंट करने सम्बंधित function होते है |

printf <>:

यह एक function है, इस फंक्शन का use expression तथा variabl कि value प्रिंट करने के लिए किया जाता है |
Syntax: print (“expression”);

You can also go through a few more amazing blog links related to C/C++:

Array In C In Hindi…
Function In C In Hindi…
Fundamentals Of C In Hindi…
Preprocessor Directives Of C In Hindi…
History And Introduction of C Language In Hindi…
Structure In C In Hindi…

Quick Q&A:

What are the 4 types of preprocessor directives? चार प्रकार के preprocessor directives कौन से होते है ?

सभी codes जो है वो compilation के पहले preprocessor के पास जाते है processing के लिए |

C language के अंदर चार प्रकार के directives होते है जो कि निम्नलिखित है:

Macros,
File Inclusion,
Conditional Compilation,
Line Control

जब code के कुछ पार्ट को किसी name से replace करते है तब हम इसको macros बोलते है |

What is C #define preprocessor? C में #define preprocessor क्या होता है?

C preprocessor जो है वो एक macro preprocessor (जो कि आपको macros define करने के लिए allow करता है) है|

C preprocessor आपके प्रोग्राम को compile होने के पहले ही transform कर देते है |

और इस transformation में header files का inclusion , macro expansions , etc होता है |

सभी preprocessing directives जो है वो # सिम्बोळ से शुरू होते है|

What are #define and #include preprocessor directives? #define और #include preprocessor directives क्या होते है?

include directives का काम source कोड को header files को शामिल करना है |

और इसे हम या तो angle bracket (<>) के साथ अथवा (” “) के साथ उपयोग कर सकते है header files की location बताने के लिए|

वहीँ दूसरी तरफ #define directives का उपयोग हम constant अथवा macros को define करने के लिए करते है |

What are C preprocessor commands? C preprocessor commands क्या होते है ?

C language में preprocessor directives का उपयोग टोकन को define करने और उन्हें text के साथ replace करने के लिए करते है |

और इसका उपयोग और files के कंटेंट को source files में insert करने के लिए भी करते है |

जब भी हम किसी प्रोग्राम को compile करते है तब सबसे पहले preprocessor commands execute होते है| और इसके बाद जाकर program compile होता है |

What is C header file? C में header file क्या होती है?

C header फाइल जो है वो एक तरह की text फाइल ही होती है जिसमे C programming language में कुछ codes लिखे होते है |

C की header फाइल का नाम .h extension के साथ खत्म होता है |

और program में इसे insert करने के लिए #include preprocessor directives का उपयोग किया जाता है|

What is preprocessor symbol in C? C में preprocessor symbol क्या होता है ?

एक preprocessor directives जो है वो #(hash) symbol के साथ शुरू होता है |

C ++ compiler भी same C preprocessor का उपयोग करते है |

actually में preprocessor जो है वो compiler का ही पार्ट होता है जो कि कोड पर कुछ प्राइमरी operations…

… (Conditional compiling , फाइल inclusion) perform करता है उसके actually में compile होने के पहले|

What is another name of C file? C file का दूसरा नाम क्या होता है?

C फाइल को और हम source कोड file के नाम से जानते है |

What is an algorithm in C? C में Algorithm क्या होती है?

Algorithm जो है वो actual में programming instructions का एक sequence होता है जो कि किसी problem अथवा task को solve करता है |

What is library function in C? C में Library functions क्या होते है?

Library functions जो है वो built -in functions होते है जिन्हे grouped करके एक common location पर रखा जाता है जिसे हम Library कहते है |

यहाँ पर मौजूद हर function का specific operation को perform करता है |

हम इन Library functions का उपयोग करके pre -defined operations को अपने input के साथ उपयोग कर सकते है और output प्राप्त कर सकते है |

C की standard Library में जितने भी functions होते है उन्हें कई सारी header files का use करके ही declare किया जाता है |

What is data structure in C? C में Data structure क्या होता है?

C में Data strcuture जो है वो computer memory में डाटा को sort और organize करने की technique होती है जिससे डाटा efficiently processed हो सके|

Data structure को broadly हम दो categories में classified कर सकते है:

primitive Data structure
Non -primitive Data structure

Non -primitive Data structure को हम फिर से classified कर सकते है दो categories में:

linear Data structure
Non-linear Data structure

What is a queue in C? C में Queue क्या होता है?

C में Queue जो है वो एक linear Data structure होती है, जिसके अंदर हम elements को store और manipulate करते है |

और Queue जो है वो First In First Out (FIFO) order को follow करती है|

ऐरे के अंदर जो पहला element insert होगा वही element सबसे पहले बाहर भी निकलेगा|

इस ब्लॉग(Preprocessor Directives Of C In Hindi) को लेकर आपके मन में कोई भी प्रश्न है तो आप हमें इस पते a5theorys@gmail.com पर ईमेल लिख सकते है|

आशा करता हूँ, कि आपने इस पोस्ट ‘Preprocessor Directives Of C In Hindi’ को खूब एन्जॉय किया होगा|

आप स्वतंत्रता पूर्वक अपना बहुमूल्य फीडबैक और कमेंट यहाँ पर दे सकते है|Preprocessor Directives Of C In Hindi|

आपका समय शुभ हो|

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.