FAQ-3 || WHAT IS THE USE OF "RETURN" IN PROGRAMMING LANGUAGES || RETURN 0; RETURN 1; RETURN (x);

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

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

  • @shaileshj2229
    @shaileshj2229 4 года назад +16

    Can't understand difference between return 0 n return 1..in both case output is same

  • @abc432
    @abc432 Год назад +1

    What is meaning of only writing return in c

  • @lalitvaghela541
    @lalitvaghela541 6 лет назад +19

    return 0 and return 1 gives same result . what is the defference ?

  • @SPORTGEAR3000KMPH
    @SPORTGEAR3000KMPH 5 лет назад +6

    Bro u said return 1 means error will occur. But when u used it there is no error

  • @alivine3303
    @alivine3303 6 лет назад +3

    So I'm from America+Indian. I would appreciate it if you can SLOW DOWN, SLOW DOWN. What is really "return" doing in a program and you said when return 0, basically there is no error in which your output was giving 7. When you returned 1, it still gave out an output of sum 7 with out any error so how is putting any number in return changing anything? Anybody is free to comment and explain.
    Thanks.

    • @tnamen1307
      @tnamen1307 Год назад

      Same question I'm asking here.

  • @Ritik-lv2gg
    @Ritik-lv2gg Год назад

    Sir agar int main() function me return 0 na likhe to kya hoga? Plz explain

  • @v.4394
    @v.4394 2 года назад

    3:50
    We can't write void to main function.
    When I try this
    It showing error that
    'main' must return 'int'

    • @Vishalkumar4447
      @Vishalkumar4447 2 года назад

      Due to complier problem , some compiler use void and some use int and some use both.

  • @lollypopsongs6214
    @lollypopsongs6214 6 лет назад +6

    Bakwas.... ye to bataya nahi ki return value ko operating system kaise access karta hai , dusari bat agar hum sirf return 1 or -1 or 0 all use karte hai kisi program me to according to these returned value hum apne message ko kaise print karenge.

  • @ramitgusain
    @ramitgusain 5 месяцев назад

    thanks alot sir

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

    Sor wht is difference between 1and o?????????????????

  • @parisfineartcorner
    @parisfineartcorner 3 года назад +2

    I had only one question which I am directly asking - Can 'return' keyword be used in the main method, according to me it is no! If yes, plz make a video of it. If u have already made it plz give me the link!

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

    Good....keep it up

  • @interestingkahaniyaan
    @interestingkahaniyaan 2 года назад

    main function return 1 aur return 0 , dono mein compile ho jaa raha hai , toh dono mein fark kya hua

  • @webster3019
    @webster3019 3 года назад +2

    Show both return 0 and return 1 in same code. Use condition to return value. Your example leads to confusion

  • @codingnetwork6914
    @codingnetwork6914 Год назад

    Very nice❤🎉

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

    Physics me jo program likhte h to usme agr return use kre to...

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

    Jab mene scanf ("%d"&side)
    Printf ("area is %d ",pow (side,2))
    To yha pow as a double kyo use hota hai aur
    Doule ki real meaning kya hai

  • @farazahmad0587
    @farazahmad0587 6 лет назад +3

    Sir plz make vedios on functions in c..

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

      ruclips.net/p/PLkhmnvi9TPH30IrOqNdnX8dA4i88O8Kh1

  • @pranavkumar5143
    @pranavkumar5143 7 лет назад +3

    nice bhai.Bro De main shift register,flip flop, half adder full adder, Multiplexer and demultiplexer and combinational circuit

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

    Return 1 or return 0 me kya difference unka result to same hai

  • @shahnawazalam9933
    @shahnawazalam9933 5 лет назад +1

    thnx bhai.. bt k6 videos C++ & java k v upld kroo

  • @l.c.shukla7268
    @l.c.shukla7268 4 года назад

    Sir array bta skte ho or string

  • @irfanansari3192
    @irfanansari3192 5 лет назад +5

    what a waste of time. both return 0 and 1 gave the same output

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

    Bro jese Hindi m return Ka mtlb hota h vapas Karna to to programming m kya meaning h Hindi m?

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

    This video is very helpful. Thank You!

  • @anupam1095
    @anupam1095 3 года назад +1

    I'm watching this video at 2x speed and it seems like your voice is similar to Dynamo {magician).

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

    Can you please explain the importance of flags?

    • @Vishalkumar4447
      @Vishalkumar4447 2 года назад

      It is just showing us the status of data

  • @shubhamrawat7895
    @shubhamrawat7895 5 лет назад +1

    kuch samaj nhi aarha

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

    Tysm my big doubt is cleared now 😊

  • @saurabhmishra-me2oz
    @saurabhmishra-me2oz 7 лет назад +1

    Bhai ye bht sahi hai lkn function ka video to bana

    • @fantastictechnicaleducatio5296
      @fantastictechnicaleducatio5296  7 лет назад

      Athelets motivation .... Thanks a lot for supporting me....
      And ye video just ek FAQ video hai jisme kisi ne question pucha tha aur maine ans dala aur particular function ke liye mai apni c language ke playlist continue karunga...

  • @niranjancit1882
    @niranjancit1882 2 года назад

    if its in english it would be very easy

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

    Agar samajh aa jata to subscribe ker leta bt aaya hi nahi

  • @dfghj_lu5qh
    @dfghj_lu5qh 5 лет назад +1

    Kuch samaj nahi aya

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

    👌👍

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

    Jara slow bolenge to aur jyda help milegi sir !

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

      play at 0.75 or 0.5 , then u will get slow commentary (you can find the playback setting option in youtube player setting)

  • @PrashantKumar-eq6px
    @PrashantKumar-eq6px 4 года назад

    Same output aya

  • @tsheringthendupsherpa8786
    @tsheringthendupsherpa8786 7 лет назад +1

    helpful

  • @prince5922
    @prince5922 7 лет назад +1

    Helpful

    • @fantastictechnicaleducatio5296
      @fantastictechnicaleducatio5296  7 лет назад +1

      Shahzad Rahim .... Thanks a lot and always welcome

    • @jskhan55
      @jskhan55 Год назад

      ​@@fantastictechnicaleducatio5296aray bhayya return 0 aur return 1 karne me koi fark hi nahi pada program dono hi case me output dera error to kanhi nahi aa rahi😂😂😂😂😂😂😂😂😂

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

    Sab bakwas nothing to watch