JOIN us on
WhatsApp Group Join Now
Telegram Join Join Now

हिंदी माध्यम नोट्स

Class 6

Hindi social science science maths English

Class 7

Hindi social science science maths English

Class 8

Hindi social science science maths English

Class 9

Hindi social science science Maths English

Class 10

Hindi Social science science Maths English

Class 11

Hindi sociology physics physical education maths english economics geography History

chemistry business studies biology accountancy political science

Class 12

Hindi physics physical education maths english economics

chemistry business studies biology accountancy Political science History sociology

Home science Geography

English medium Notes

Class 6

Hindi social science science maths English

Class 7

Hindi social science science maths English

Class 8

Hindi social science science maths English

Class 9

Hindi social science science Maths English

Class 10

Hindi Social science science Maths English

Class 11

Hindi physics physical education maths entrepreneurship english economics

chemistry business studies biology accountancy

Class 12

Hindi physics physical education maths entrepreneurship english economics

chemistry business studies biology accountancy

Categories: C Language in hindi

Header File : Stdio.h और string.h in c language in hindi , list and functions of header file in c

list and functions of header file in c ,  Header File : Stdio.h और string.h in c language in hindi :-
Stdio.h का use standard input output function include नहीं होते है| इसमें निन्म function का use किया जाता है:-
1. fclose()
इस function का use file को क्लोज करने के लिए  किया जाता है|इसमें file pointer pass होता है |अगर file close हो जाती तब ‘1’ return होती है |
2. feof()
इस function का use ,file के end of file error को use किया जाता है |अगर file की end होते है तब ‘1’ होती है |अगर file की end नहीं आता तब ‘1’ return होगा |
3. fgetc()
इस function का use file मे किसी charecter को enter करने के लिए किया जाता है |इसमें एक character function के argument मे pass होता है |
4. fgets()
इस function का use ,string को किसी file मे से read करने के लिए किया जाता है |इसमें तीन parameters pass होता है |
(1)string name : इसमें string का नाम pass होता है |
(2)no of element : इसमें string मे character के number pass होता है |
(3) file pointer : इसमें file pointer pass होता है जिसमे string को write करना होता है |
5. fopen()
इस function का use file मे open करने के लिए किया जाता है |इसमें एक file pointer को  function के argument मे pass होता है |
6. fprintf()
इस function का use,किसी data को file मे read  करने के लिए किया जाता है |इसमें data specifier और variable name का use किया जाता है |
7. fputc()
इस function का use , किसी file मे , charecter data को file मे put करने के लिए किया जाता है |इस function मे, character को function के argument मे पास्ड किया जाता है |
8. fread()
इस function का use , data item को file से string मे assign करते है | इसमें तीन parameter होते है :-
(1)string name : इसमें string का नाम pass होता है |
(2)no of element : इसमें string मे character के number pass होता है |
(3) file pointer : इसमें file pointer pass होता है जिसके data को  string मे write करना होता है |
9. fscanf()
इस function का use,file मे data को write करने के लिए किया जाता है |
10. ftell()
इस function का use , file मे pointer के current position को return करने के लिए किया जाता है |
11. fwrite()
इस function का use , किसी string के portion को file मे store करने के लिए किया जाता है |
12. getc()
किसी single charecter को file मे store करने के लिए किया जाता है |
13. putc()
इस function का use , किसी charecter को file मे put करने के लिए किया जाता है |
14. putchar()
इस function का use , chartecter को आउटपुट statement मे भेजा जाता है |
15. puts()
इस function का use , string को output screen मे भेजा जाता है |string.h मे string related function होते है | जैसे
1. strcmp()
इस function का use दो string को compare करने के लिए किया जाता है |अगर दोनों string equal होती तब ‘1’ return होता है |अन्यथा ‘0’ return होगा |
2. strcmpi()
इस function का use ,दो string को compare करने के लिए किया जाता है |लेकिंग
अगर s1 < s2 है तब negetative value return होगी |
अगर s1=s2 है तब ‘0’ return होगी |
अगर s1>s2 है तब पॉजिटिव value आएगी |
3. strcpy()
इस function का use एक string को दुसरे string मे copy करने के लिए किया जाता है |जैसे strcmp(s1,s2)-इस statement से string s2 की copy string s1 मे store हो जाएगी |
4. strlen()
इस function का use string की length को calculate करने के लिए किया जाता है |इस function के string name as parameter pass होता है |
5. strset()
इस function का use , string की सभी value को set करने के लिए किया जाता है |time.h header file मे ,time related function include होते है |
1. difftime() :
इस function का use ,time difference को calculate करने के लिए किया जाता है |अगर difftime(11,12) – इस statement से 11 और 12 के बीच का time difference calculate हो जाता है |
2. time()
इस function का use ,second की value को return करने के लिए किया जाता  है |ये second base time से आगे होती है |

इस article मे हमने stdio.h  , string.h और time.h header file के सभी functions को पढ़ा |अतः अगर आप एक अच्छे programmer बनाना चाहते हो तो इस functions को जरुर याद कर ले|

Sbistudy

Recent Posts

four potential in hindi 4-potential electrodynamics चतुर्विम विभव किसे कहते हैं

चतुर्विम विभव (Four-Potential) हम जानते हैं कि एक निर्देश तंत्र में विद्युत क्षेत्र इसके सापेक्ष…

2 days ago

Relativistic Electrodynamics in hindi आपेक्षिकीय विद्युतगतिकी नोट्स क्या है परिभाषा

आपेक्षिकीय विद्युतगतिकी नोट्स क्या है परिभाषा Relativistic Electrodynamics in hindi ? अध्याय : आपेक्षिकीय विद्युतगतिकी…

4 days ago

pair production in hindi formula definition युग्म उत्पादन किसे कहते हैं परिभाषा सूत्र क्या है लिखिए

युग्म उत्पादन किसे कहते हैं परिभाषा सूत्र क्या है लिखिए pair production in hindi formula…

6 days ago

THRESHOLD REACTION ENERGY in hindi देहली अभिक्रिया ऊर्जा किसे कहते हैं सूत्र क्या है परिभाषा

देहली अभिक्रिया ऊर्जा किसे कहते हैं सूत्र क्या है परिभाषा THRESHOLD REACTION ENERGY in hindi…

6 days ago

elastic collision of two particles in hindi definition formula दो कणों की अप्रत्यास्थ टक्कर क्या है

दो कणों की अप्रत्यास्थ टक्कर क्या है elastic collision of two particles in hindi definition…

6 days ago
All Rights ReservedView Non-AMP Version
X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings
JOIN us on
WhatsApp Group Join Now
Telegram Join Join Now