हिंदी माध्यम नोट्स
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
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
C99 – Advance Function (Part-1) , in c language in hindi , abort() , exit() , quick exit() , EXIT_ SUCCESS
FILE *f;
printf(“File can not open .”);
else
puts(e);
fclose(f);
इस उदाहरण मे , file ‘Data.doc’ को open किया जाता है|अगर file उपलब्ध नहीं होती है तब file pointer ‘f’ की value NULL होती है |और File can not open . message होता है इसके साथ abort() function से प्रोग्राम terminate हो जाता है |
FILE *f;
printf(“File can not open .”);
else
puts(e);
fclose(f);
इस उदाहरण मे , file ‘Data.doc’ को open किया जाता है|अगर file उपलब्ध नहीं होती है तब file pointer ‘f’ की value NULL होती है |और File can not open . message होता है इसके साथ exit() function से प्रोग्राम terminate हो जाता है |और exit code ‘1’ , प्रोग्राम के unsuccessful एक्षेकुतिओन को define करता है |
scanf(“%d %d “, &a &b);
int sum= c+d;
int diff= c-d;
enter data 43 33
Difference = 10
Sum = 77
4. EXIT_ SUCCESS
EXIT_ SUCCESS : ये macro है जो की function के success status को define करता है |
EXIT_ FAILURE : ये macro है जो की किसी function के failure status को define करता है |
इसका उदाहरण है :-
FILE *f;
printf(“File can not open .”);
else
puts(e);
fclose(f);
इस function का use किसी function को call करके terminate किया जाता है |इसमें function को return किया जाता है और ‘0’ return होता है अगर function call होता है अन्यथा ‘1’ return होता है |
इस function का use किसी function को call करके terminate किया जाता है |इसमें function को return किया जाता है और ‘0’ return होता है अगर function call होता है अन्यथा ‘1’ return होता है |
Recent Posts
नियत वेग से गतिशील बिन्दुवत आवेश का विद्युत क्षेत्र ELECTRIC FIELD OF A POINT CHARGE MOVING WITH CONSTANT VELOCITY in hindi
ELECTRIC FIELD OF A POINT CHARGE MOVING WITH CONSTANT VELOCITY in hindi नियत वेग से…
four potential in hindi 4-potential electrodynamics चतुर्विम विभव किसे कहते हैं
चतुर्विम विभव (Four-Potential) हम जानते हैं कि एक निर्देश तंत्र में विद्युत क्षेत्र इसके सापेक्ष…
Relativistic Electrodynamics in hindi आपेक्षिकीय विद्युतगतिकी नोट्स क्या है परिभाषा
आपेक्षिकीय विद्युतगतिकी नोट्स क्या है परिभाषा Relativistic Electrodynamics in hindi ? अध्याय : आपेक्षिकीय विद्युतगतिकी…
pair production in hindi formula definition युग्म उत्पादन किसे कहते हैं परिभाषा सूत्र क्या है लिखिए
युग्म उत्पादन किसे कहते हैं परिभाषा सूत्र क्या है लिखिए pair production in hindi formula…
THRESHOLD REACTION ENERGY in hindi देहली अभिक्रिया ऊर्जा किसे कहते हैं सूत्र क्या है परिभाषा
देहली अभिक्रिया ऊर्जा किसे कहते हैं सूत्र क्या है परिभाषा THRESHOLD REACTION ENERGY in hindi…
elastic collision of two particles in hindi definition formula दो कणों की अप्रत्यास्थ टक्कर क्या है
दो कणों की अप्रत्यास्थ टक्कर क्या है elastic collision of two particles in hindi definition…