C_89 Functions in C - part 6 | Function Without Argument With Return Type

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 112

  • @misturaojulari9707
    @misturaojulari9707 Рік тому +21

    1 will be returned to the function call, and then to output in 19:01

  • @debojitacharjee
    @debojitacharjee 2 роки тому +25

    *THIS MEANS THAT THE MAIN FUNCTION IS A FUNCTION WITH NO ARGUMENT AND WITH RETURN TYPE* - the main function needs the return 0; statement to return 0 to tell the OS about success. So it's a function with no argument but with return type by default.

  • @mrrevan5399
    @mrrevan5399 Рік тому +69

    I'm always watching your video in 2x 😅

    • @Samala_dheeraj
      @Samala_dheeraj 8 місяців тому

      Y

    • @varadharlikar
      @varadharlikar 7 місяців тому +4

      Don't. Concept clear nhi hoga karna he tho thikse karo bro 1.25 chalega .par 2x pe rap suneki tarah lagta ha😂

    • @LIPUN_GAMERZ
      @LIPUN_GAMERZ 2 місяці тому +2

      you just playing with yourself

  • @balkrishnabane1392
    @balkrishnabane1392 2 роки тому +6

    19:03
    Output: 1
    Coz we have used the comma operator thus it will execute the a and 0 and return 1 as the output

    • @adityagoswami4090
      @adityagoswami4090 Рік тому

      Bro but 1 in not declared
      So. It can possible or not to return 1

    • @Balancersvlog
      @Balancersvlog 10 місяців тому

      1 is character bro, then print 1@@adityagoswami4090

  • @mechile_pakki
    @mechile_pakki 2 роки тому +11

    In 19:04 i assuming that; it returns 1 and print ASCII value of 1

  • @kartikrana2241
    @kartikrana2241 2 роки тому +23

    Mam your teaching style is so good .I am beginner and yr lecture series helping me a lot thank you so much 🙏 mam

  • @walkwithme_P62
    @walkwithme_P62 3 роки тому +24

    Output:
    Sum=1

  • @shivendra3019
    @shivendra3019 3 роки тому +12

    Jayanthi mam is on fire # Rapid Uploads.

  • @readingline1357
    @readingline1357 2 роки тому +10

    Your voice is very sweet ❤️

  • @tadiwanashemashongwa8087
    @tadiwanashemashongwa8087 Рік тому +2

    I have developed so much love for India through your lectures ❤

  • @JustListen41473
    @JustListen41473 3 роки тому +6

    Thank you ma'am 😕
    You save my life,lots of respect for you

  • @manchester564
    @manchester564 3 роки тому +5

    Mam if you had started some years earlier ,I would have changed my career into a programmer.love you mam.

  • @parameswararaobyreddy7696
    @parameswararaobyreddy7696 3 роки тому +5

    Chala ante chala bagunnaru madam meeru

  • @arvindkumarmishra3988
    @arvindkumarmishra3988 2 роки тому +5

    Your C videos are more than enough please upload Video on DBMS

  • @hetprajapati2327
    @hetprajapati2327 2 роки тому +2

    mam, 1 will be printed and the associativity of comma operator is right left to right and it will assign the last value i.t here '1' to return and will be printed then by storing it in s variable.

  • @zhidk7806
    @zhidk7806 2 роки тому +7

    output
    sum= 1

  • @MrGamer-zb8ih
    @MrGamer-zb8ih 2 роки тому +2

    We are exucute the Char so i think digit was didn't printed printed the next return sum

  • @amanattar9343
    @amanattar9343 2 роки тому +1

    Ma'am your teaching is awesome ma'am 💥

  • @nehamaheshwari1502
    @nehamaheshwari1502 3 роки тому +4

    I appreciate your teaching style mam ....your video is very useful for me mam ......I got clear all doubts when I watched your video mam ........plz upload the video on some interview related questions me

  • @mahendrarajput3449
    @mahendrarajput3449 3 роки тому +2

    ok my dear 😍😍😍😍

  • @jyotirani8232
    @jyotirani8232 3 роки тому +4

    very clear concept.

  • @D-Coder440
    @D-Coder440 Рік тому +1

    Really Helpful Video Thank You So Much mam

  • @siddhantsingh8721
    @siddhantsingh8721 2 роки тому +1

    best teacher

  • @vsreels2942
    @vsreels2942 Рік тому +1

    🙏 thank you so much ma'am 🙏

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 роки тому +3

    I cannot understand the use of null pointer .. If we use null pointer then also if program is crashing then why to initialize ptr with null pointer ?

  • @achyutanandaparida2157
    @achyutanandaparida2157 Рік тому +1

    Thanks mam to teach ❤

  • @manojrajput9930
    @manojrajput9930 3 роки тому +2

    Output is 1 !!

  • @ashisharma3500
    @ashisharma3500 2 роки тому +3

    Ma'am quality is unavailable??
    Program which you done externally is not clear

  • @rapakalokesh8449
    @rapakalokesh8449 Рік тому +1

    take care maam have a great day 😉😉

  • @swapnapanuganty3489
    @swapnapanuganty3489 10 місяців тому +1

    Just wanted some clarification - in the statement scanf("%d%d", &a,&b); are we supposed to write it as &a,&b because we are going to dynamically input a value that shouldn't change?

    • @tarnation7619
      @tarnation7619 6 місяців тому

      We are just taking the input from the user and assigning it to the address of the variable here &a ,&b (ampersand a and b ) is used to access the address of the variables in which user is going to feed the value or input .

  • @Mehedihasan-rahat
    @Mehedihasan-rahat Місяць тому

    Thanku 😊

  • @duaarani5420
    @duaarani5420 3 роки тому +3

    mam plz can you make a video on ER diagram the book of DBMS

  • @iisachiin
    @iisachiin Рік тому

    19:07 output is :- 1

  • @meghasinha1706
    @meghasinha1706 3 роки тому +1

    Mam thanks for your efforts

  • @maripijayanth1705
    @maripijayanth1705 3 роки тому +4

    Madam I am M.Jayanth I am following your course "Data-Structure using C "but in the "implementation of linked list" I don't know the concept of memory allocation. It is quit bad to ask while making a video in order but please make a video on dynamic memory allocation ..with warm regards...

  • @venup5381
    @venup5381 3 роки тому +2

    output is 1

  • @SandeepKumar-gu1pf
    @SandeepKumar-gu1pf Місяць тому

    video start at 2:20

  • @indianmotorcyclist
    @indianmotorcyclist 3 роки тому +2

    Any video on F 5 load balancing?

  • @kinshikk
    @kinshikk 6 місяців тому

    since we are returning a char type value, will it print the ASCII value? (or we might get error???)

  • @dewantsingho2957
    @dewantsingho2957 2 місяці тому

    Mam , as u told that a,b , sum r local variables to definition section nd would vanish while way to calling fun,,
    So isn't the value of sum wld vanished too ??

  • @Ankitsingh-zf4tf
    @Ankitsingh-zf4tf Рік тому

    Thank teacher

  • @sangeetarao2291
    @sangeetarao2291 2 роки тому +1

    Mam one doubt.if we delete returnsum...and write printf in called function or in definedfunction Block.then what will happened

    • @johnmiiri2211
      @johnmiiri2211 2 роки тому

      the function then becomes a function with no return type.

  • @sourav9352
    @sourav9352 Рік тому +1

    Mam यदि return type implicitly 'int' hota hai toh int return type ke saath return kyu karte hai.????

  • @bhulakshmigNNA
    @bhulakshmigNNA 2 роки тому +1

    I want Java,c++ classes from you please

  • @cricket_addicted_guys
    @cricket_addicted_guys 2 роки тому +1

    Sum=1 😄

  • @DhirajkumarPollai
    @DhirajkumarPollai 11 місяців тому

    sum=1 it is the output of this program

  • @ummekulsum6350
    @ummekulsum6350 2 роки тому +1

    Thank you so much mam ur helping a lot

  • @dreamerb1
    @dreamerb1 2 роки тому

    Thank you so much mam

  • @AnujKumar-h4d5z
    @AnujKumar-h4d5z Рік тому

    good mam ❤❤❤

  • @ArwaFarooq-xs7ip
    @ArwaFarooq-xs7ip Місяць тому

    mam agr hum is ko pivhly waly program ky method sy kry to kya ye ho ga yani hum sum ko print kry sum function may or phir main may sum ko bs call kry int typee ky sth hi to is it possible

  • @akankshasingh239
    @akankshasingh239 3 роки тому

    Mam aap bahut preety ho...🥰🥰

  • @neharao5233
    @neharao5233 28 днів тому

    output:

    === Code Exited With Errors ===

  • @karthi8781
    @karthi8781 9 місяців тому

    Mam if we didn't declare sum=0 then also the program is running mam.

  • @sravanslv5191
    @sravanslv5191 2 роки тому +3

    even though return sum statement is not used, the sum=12 is printing. then what is the significance of return statement?

    • @bharathikathir3029
      @bharathikathir3029 2 роки тому +1

      Same question

    • @pawanmittal8056
      @pawanmittal8056 Рік тому +1

      @@bharathikathir3029 @sravan slv bcoz its returning the value by deafult when you use two sums (sum=a+b,sum1=x+y) in function then its return the value last statement (sum1=x+y) but when you declare the "return sum;" then its only particular variable (sum).

    • @Rishithabajjuri
      @Rishithabajjuri 11 місяців тому

      didnt get you @@pawanmittal8056

  • @jaychopra8932
    @jaychopra8932 3 роки тому +2

    Hii please start python course

  • @abhishekkodigudla6217
    @abhishekkodigudla6217 6 місяців тому

    in 19.01 minute it returns 1 and out put is 49 which is its ascii value

  • @shrifashionworld7738
    @shrifashionworld7738 5 місяців тому

    last question's answer is :: char. '1' will be returned.

  • @ananyaghosh6402
    @ananyaghosh6402 2 роки тому +1

    but why isn't printing s=a
    because when we used int sum it was printing s=12 ,then why not gor char?

    • @Keerthinarayan25
      @Keerthinarayan25 2 роки тому

      See the code correctly what mam is written then you will find why it is

  • @Op_Decentrailiser
    @Op_Decentrailiser 2 роки тому

    Assignment answer
    Sum=1

  • @sangeetarao2291
    @sangeetarao2291 2 роки тому

    Like after sum=a+b; if we delete return sum;and write printf("sum=%d",sum);what output we will get in return type with no argument...please tell

  • @ShubhamKumar-zb5yf
    @ShubhamKumar-zb5yf 2 роки тому

    Output 1

  • @927-sayalipatil3
    @927-sayalipatil3 Рік тому

    Answer is return :1

  • @tejashwinimanaguli7904
    @tejashwinimanaguli7904 Рік тому

    Return 1

  • @yaalini.k.s941
    @yaalini.k.s941 3 роки тому +1

    👌👌

  • @devSackey
    @devSackey Рік тому +1

    It will return 1;

  • @dharsang2400
    @dharsang2400 3 роки тому

    How many vedio are balance sissy...
    89 vedios now u posted....how many concept pending ?..
    How many videos u will add in this C program......?

  • @anju7334
    @anju7334 3 роки тому +1

    Mam is it necessary to initialise sum =0;

  • @vishu8120
    @vishu8120 11 місяців тому +1

    Hindi mein samjhana chahiye aur achha samjhega👍

  • @pradeeprao2473
    @pradeeprao2473 3 роки тому +1

    👍

  • @mahamadkhadeer5987
    @mahamadkhadeer5987 3 роки тому +1

    Ma'am c language kab end hogaa🥱🥱

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 місяців тому

    It will return 1

  • @technology_with_aatman
    @technology_with_aatman 3 роки тому

    a output

  • @dhruvmachhi2990
    @dhruvmachhi2990 3 роки тому +2

    Ma'am i want to work with you as a thumbnail editor plz reply me if you are interested in it i will send some samples.
    Thank you.

  • @sachingupta-nm3vx
    @sachingupta-nm3vx 3 роки тому

    tq mam

  • @swerve-dz4cr
    @swerve-dz4cr 2 роки тому

    goddess fr

  • @krishrauniyar7159
    @krishrauniyar7159 6 місяців тому

    sum=1

  • @anasajmal7544
    @anasajmal7544 3 роки тому

    😊

  • @shashank_kishore_
    @shashank_kishore_ Місяць тому

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @jaychopra8932
    @jaychopra8932 3 роки тому

    Please please please ❤️

  • @sole_beatzz7344
    @sole_beatzz7344 3 роки тому

    Hi Madam I'm your daily student expecting like from you madam

  • @devdattasharma426
    @devdattasharma426 3 роки тому

    1

  • @idkidk901
    @idkidk901 3 роки тому

    Try going short haircut

  • @pagindlasharan0369
    @pagindlasharan0369 Рік тому

    Thup mama nuvu

  • @pagindlasharan0369
    @pagindlasharan0369 Рік тому

    So beautiful haa

  • @TheSakethGoka
    @TheSakethGoka 3 роки тому +1

    Mam I cannot concentrate on the topic,if ur so beautiful..😀😀

  • @hritikmishra9651
    @hritikmishra9651 3 роки тому

    how so beautiful?

  • @himanshu-x8s6b
    @himanshu-x8s6b Місяць тому

    thank you mam ji

  • @meghasinha1706
    @meghasinha1706 3 роки тому +2

    Mam thanks for your efforts

  • @atiqahmed2123
    @atiqahmed2123 3 роки тому

    thanx mam