Difference between int main and void main in c || c tutorial in Hindi

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 53

  • @mohsinahmad551
    @mohsinahmad551 3 года назад

    Brother you cleared my big doubt. Thanks

  • @gksagar8055
    @gksagar8055 5 лет назад

    Sir maine bahut sare video dekhe magar void main or int main ke magar Apne Jo sikhay o sabse achha.....Hai...sir confused hoto but ha video vahila tar purn shanka clear zali....THX sir...

  • @RiteshKumar-uy7fx
    @RiteshKumar-uy7fx 3 года назад

    after so many years finallly main in my head thanks to you

  • @rusty39939
    @rusty39939 4 года назад

    Chaliye shuru karte hai

  • @bllove73
    @bllove73 4 года назад

    thanks

  • @muhammadusama8860
    @muhammadusama8860 4 года назад

    Sir agr hum int main ka use karen aur aik file open kryn aur file crash hogai ho to error compile time pr ay ga ya runtime pr jb app run hojaiy?

    • @programmingfunda5788
      @programmingfunda5788  4 года назад

      Compile to run karne se pahele ke error hi pakad sakta hai. Run time kuch issue hua to Program has to throw error codes to System function or OS.

  • @abdulzaheerbasheed8147
    @abdulzaheerbasheed8147 6 лет назад

    Thank u.. I got it

  • @virendersingh4145
    @virendersingh4145 4 года назад

    Thq sir

  • @zuberkhan9582
    @zuberkhan9582 4 года назад

    My math is zero how to build dynamic programming

  • @mubashirakhanum4719
    @mubashirakhanum4719 6 лет назад

    Hey,if our program terminates in the middle and returns non zero value to OS,will OS respond to that by displaying some info to the user dat program couldn't be run successfully for so and so reason??

    • @programmingfunda5788
      @programmingfunda5788  6 лет назад

      +mubashira khanum. This concept isn’t used much (if at all) in graphical environments where people launch programs from an icon or something. But in command-line applications, this return statement is a godsend.
      Take for example the “make” tool - which is used for compiling and linking complicated applications. The various compilers and linkers do a “return 0” when the program that they are working on compiled correctly - or they “return 1” if it didn’t compile.
      The “make” program examines the return status of every program it runs - and aborts the build if one of them returns anything other than zero.
      This is a really handy thing

    • @mubashirakhanum4719
      @mubashirakhanum4719 6 лет назад

      Being Engineer Thanks for clarification.

  • @Singh-ke5vt
    @Singh-ke5vt 5 лет назад

    Sir I want to know that in a University exams which is a better way to write any program in answer sheet void or int main

  • @tanusajjad3558
    @tanusajjad3558 6 лет назад +2

    Sir please class and objects par video upload kijiye

  • @yaqubshah5563
    @yaqubshah5563 6 лет назад

    that was nice...

  • @Singh-ke5vt
    @Singh-ke5vt 5 лет назад

    Sir ek video important programs Tubidy banado Jis Mein Sabhi program Ho Jo important Ho University exams ke liye

  • @saifunazar322
    @saifunazar322 6 лет назад +1

    at last i got it

  • @kaustavchatterjee6302
    @kaustavchatterjee6302 5 лет назад

    best video

  • @tusharahmed3151
    @tusharahmed3151 6 лет назад

    buhat ascha vdo.hain

  • @rahulchoudhuri3106
    @rahulchoudhuri3106 6 лет назад

    Thank you sir...

  • @ManishNayak-dg9rt
    @ManishNayak-dg9rt 6 лет назад

    What is Global data and local data please explain

    • @programmingfunda5788
      @programmingfunda5788  6 лет назад +1

      Local variable is created inside a function and can only be used inside that function while global is declared outside the function and cane be accessed by all functions. I have already prepared a video on that : ruclips.net/video/ly0klZow3S8/видео.html

    • @ankitgohel4776
      @ankitgohel4776 5 лет назад

      But yeh to sbko pta h ki return 0 likhne se os ko pta chlega ki program is successfully run ho gaya but inside kya process hoga vo smjao bhai

  • @kmrecord7095
    @kmrecord7095 5 лет назад

    🙏🙏🙏🙏🙏🙏🙏🙏

  • @iqranoor7545
    @iqranoor7545 3 года назад

    😒

  • @matte9076
    @matte9076 6 лет назад

    Why have a title in english if the language is different?

  • @DigitalInnovationEra
    @DigitalInnovationEra 6 лет назад

    to sir void lgaane ki zarurt nahi hai...

    • @programmingfunda5788
      @programmingfunda5788  6 лет назад

      +vinay sharma Ha. Void nahi likhna hai. Aap int likh skte ho yaa to kuch mat likho to bhi vo int hi maana jayega. Main me end me retun 0 likhna padega.

  • @Yourdad939
    @Yourdad939 6 лет назад

    Void main () return karta hai 0 kyunki void ka matlab hi 0 hai

    • @programmingfunda5788
      @programmingfunda5788  6 лет назад +1

      +SuperDj Pahasu No. Void main returns nothing. Not even 0. Because , 0 is a number, its integer. Hence you cannot return anything, if its void return type.

    • @Yourdad939
      @Yourdad939 6 лет назад

      Tech With Sam sorry , i don't agree with u .

    • @Singh-ke5vt
      @Singh-ke5vt 5 лет назад

      Super dj void means nothing and 0 is a number 0 occupies A space it exist as a number but when has nothing is there is a no number inside void void doesn't Express express 0 because it is you can say as there is a no number inside no number no character inside it ok so got it

    • @Singh-ke5vt
      @Singh-ke5vt 5 лет назад

      If you have any other doubt show me where is written that void means zero

    • @Singh-ke5vt
      @Singh-ke5vt 5 лет назад

      Good job being engineer sir ji

  • @zuberkhan9582
    @zuberkhan9582 4 года назад

    My math is zero how to build dynamic programming

    • @programmingfunda5788
      @programmingfunda5788  4 года назад

      You don't need maths for programming. Practice daily. Learn daily. Your logic will develop slowly.

    • @zuberkhan9582
      @zuberkhan9582 4 года назад

      @@programmingfunda5788 thanks

  • @ushasrivastava3016
    @ushasrivastava3016 6 лет назад

    thanks