Functions & Function Prototypes in C++ | C++ Tutorials for Beginners #15

Поделиться
HTML-код
  • Опубликовано: 30 янв 2020
  • Download the best IDE for C, C# and C++: bit.ly/WholeTomato-CWH
    ►Source Code & Resources: codewithharry.com/videos/cpp-...
    ►This video is a part of my C++ playlist: • C++ Tutorials In Hindi
    ►For Doubt Solving, Brain Storming Sessions & guaranteed replies, join the channel membership here: / @codewithharry
    ►Click here to subscribe - / @codewithharry
    ►Checkout my English channel here: / programmingwithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Python Tutorial In Hin...
    ►Python Complete Course In Hindi - • Python Tutorials For A...
    ►C Language Complete Course In Hindi -
    • C Language Tutorials I...
    ►JavaScript Complete Course In Hindi -
    • JavaScript Tutorials I...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Django Complete Course In Hindi -
    • Python Django Tutorial...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithharry.com
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

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

  • @arjunsinghrajput7516
    @arjunsinghrajput7516 3 года назад +162

    cout

  • @shivamgangwar3999
    @shivamgangwar3999 2 года назад +18

    Tere jesa yaar(sir 🥺) kahan ,kahan aesa yarana(material🥺)
    Love you brother....
    Stay safe...💗❣️💜

  • @muhammadusmanaslam4724
    @muhammadusmanaslam4724 2 года назад +189

    11:15 When we define function int sum(int a, int b){} these are called parameters & when we pass actual values sum(2, 3); then they called as Arguments.

    • @wrawler
      @wrawler Год назад +27

      you are correct but he is also not wrong. actuall parameters are also known as arguements and formal parameters are called the parameters or the parameters required while function creation

    • @somdattkabi4529
      @somdattkabi4529 6 дней назад

      u r correct .........but he also is not wrong.......its just another name for same thing...

  • @musfirahkamran6129
    @musfirahkamran6129 2 года назад +51

    My friend recommended me this channel and let me tell you, this is most useful channel I have come across and he is executing his way of teaching very well. Thank you Sir. Keep up the good work.

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

      Ya his teaching is very easy to understand
      My all basic concepts are being cleared

  • @ignition01
    @ignition01 3 года назад +75

    A lots of thanks for your tutorials,
    It helps me to learn lots of programming languages thank-you so much 🤩🤩🤩

  • @235_shreyojha2
    @235_shreyojha2 2 года назад +6

    Started Revising concept of c++ by using your video frankly saying one of the best videos of c++ thankyou Harry Bhai

  • @GeekyShubhamSharma
    @GeekyShubhamSharma 4 года назад +101

    Bhai question and exercises bhi dijiye pls pls 😁♥️♥️♥️

  • @farhanbajwa4954
    @farhanbajwa4954 3 года назад +25

    Actual Parameters are also called Arguments

  • @sharadbhadouria1227
    @sharadbhadouria1227 Год назад +19

    Function prototype is also known as function declaration..

  • @Ankitasarkar470
    @Ankitasarkar470 Год назад +2

    Where were you for so long when I was feeling exhausted doing programming?.... Thank you so much for this video.... Now it's clear to me🥺.

  • @chauhanvaibhav5203
    @chauhanvaibhav5203 2 года назад +9

    Table of 6.
    #include
    using namespace std;
    int main(){
    int number, multipiler;
    cout

  • @RajvirSingh1313
    @RajvirSingh1313 3 года назад +28

    12:30 'g' was not declared in this scope

  • @arshdeeprobin1525
    @arshdeeprobin1525 2 года назад +6

    Thanks bro very easy to understand with your explanation thanks !!!

  • @m_ali4476
    @m_ali4476 2 месяца назад +8

    watching 1 day before exam😅

    • @miss.riya41
      @miss.riya41 Месяц назад +1

      Watching before getting semester syllabus 😅

  • @ayushshaw3681
    @ayushshaw3681 3 года назад +6

    Good and well organised content.

  • @RajeshKumar-lf3mo
    @RajeshKumar-lf3mo 2 года назад +4

    Thank you Harry sir
    Your videos have helped me a lot

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

    Brother you are great sab samaj aa gaya , Maine expect nahi Kiya tha ki itna achhe se samjonge , you beloved my mind ❤❤🎉🎉🎉🎉
    Love you brother 👍🤞🙏🙏
    Jai siya ram
    Radhe radhe.....🙏

  • @sufiyanmogal1527
    @sufiyanmogal1527 Год назад +2

    Thank you so much haris bhai i have learned c from you and now I'm learning c++ from you and your explanation is very good

  • @rajawaqas9893
    @rajawaqas9893 3 года назад +4

    Amazing series very useful

  • @NowThatsCool
    @NowThatsCool 3 года назад +6

    thank you , much appreciated

  • @positive1947
    @positive1947 8 месяцев назад +1

    thanks alot sir you are a true asset for programmers. stay blessed

  • @devendersingh2690
    @devendersingh2690 Год назад +2

    The moment he say
    I WILL SEE YOU NEXXT TIMME ,
    It is epic;

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

    Great explanation ❤️

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

    nai just search kiya youtube function ko smjne ke liye waoooo dil kush ho gya kya explation hai yr

  • @multieducation8155
    @multieducation8155 8 месяцев назад +2

    No words to say thank to you brother Allah bless you ❤

  • @pulkitbhardwaj7055
    @pulkitbhardwaj7055 Год назад +2

    Bhagwan sab per kripa kre aur sab is playlist ko dedication ke saath smapt kr pae
    Jai shree Ram ❤

  • @kunalkumar6783
    @kunalkumar6783 2 года назад +2

    Thank you so much bhaiya for your effort for us.

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

    Kya baat Hai Bhai. Plz ese hi videos bnate rehna our hme sikhate rehne.

  • @armansinhraj7102
    @armansinhraj7102 6 месяцев назад +1

    appreciated your teaching skills. Thankyou so much.

  • @raheelyousaf2872
    @raheelyousaf2872 7 месяцев назад +1

    Sir aap nay buhat acha smjaya oar smjh bhi aa gai ut I request you also provide us some examples to solve

  • @abrarahmad3897
    @abrarahmad3897 Год назад +4

    As when the value in a void function is to be printed, it return None since no value has been returned by that function. However, it does not raise an error either.

  • @ManmohanBhardwaj-ft2hu
    @ManmohanBhardwaj-ft2hu 11 месяцев назад

    Thanks harrybhai you solved my issue in just couple of minutes

  • @DeepakKumar-df7py
    @DeepakKumar-df7py 4 года назад +53

    Congrats for 200k Subscribers. We hope you will get 10M Subscribers in future. You deserve this :)

  • @AbhirajPaul-
    @AbhirajPaul- 2 года назад +4

    Harry bhai every video i wait for your outro song 😎

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

    Sir ap bht bht bht zyada acha prhaty Hain and tysm hmry concepts clear krny liye...jazakAllah r asg e agy b guide krty rhye❤️💯

  • @engineerbhai7642
    @engineerbhai7642 4 года назад +1

    Bestteacher and best video.

  • @talhamajeed7032
    @talhamajeed7032 Год назад +2

    Great explanation sir💛🖤💙

  • @bhuwannath61
    @bhuwannath61 2 года назад +6

    :) Thanks harry bhaiya ☺☺.
    I had learned c from CodeWithHarry and now learning c++ from same one . Its really interesting to learn from CodeWithHarry .

  • @jungle_ke_sherrrr
    @jungle_ke_sherrrr 3 года назад +5

    wow the function part was explained so well dude the best one can explain...... thanks... i'm still watching

  • @DEVSHARMA-kd3lh
    @DEVSHARMA-kd3lh Год назад +4

    Yes we will get error for g as we didn't explained or define g before int main

  • @nothing-fs8oh
    @nothing-fs8oh 3 года назад

    appreciated sir
    Best explanation

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

    such great explanation man.

  • @035-harshitsingh7
    @035-harshitsingh7 3 года назад

    Thanks Harry Bhaiya.

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

    Ty's for code providing in description

  • @iloveindia7912
    @iloveindia7912 4 года назад +5

    💞💞💞amazing💖💖

  • @rajanijaiswal333
    @rajanijaiswal333 4 года назад +5

    Thank u Harry Bhai
    Amazing video
    when is new exercise is coming

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

    Thank you bhaiya ❤️

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

    Love love very much best videos ✌️✌️✌️☺️☺️☺️😊

  • @user-um6up1cc3d
    @user-um6up1cc3d 6 месяцев назад +1

    When we define funtion int (int a, int b) {} these are called parameter & when we pass actual value sum(2,3) ; they are cakked as argument

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

    Excellent sir...!

  • @niteshnayak940
    @niteshnayak940 17 дней назад +1

    Thank you harry ❤❤❤

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

    Zabardast........ Video
    😍😍😍😍😍😍😍😍😍😍😍

  • @AbdulMajid-ik2cw
    @AbdulMajid-ik2cw 3 года назад

    Thanks Sir💕💕💕💕💕💕💕💕💕💕💕💕💕
    Bhoat achea sa samj aya..😘

  • @user-zm2cd1nk6o
    @user-zm2cd1nk6o 6 месяцев назад +1

    I under very well from this vedio about function and prototype

  • @AasmaniKhazana
    @AasmaniKhazana 2 месяца назад

    Aik hi dil hai kitni bar jitogy sir
    Tons Love from Pakistan

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

    Sir you are great 😌

  • @mingoogie544
    @mingoogie544 3 месяца назад

    this video really cleared my doubts on functions 🙏🙏

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

    What an explanation!!!!

  • @divyanshnagar7758
    @divyanshnagar7758 7 месяцев назад +2

    Sometimes, the code is exactly the same and still the compiler shows errors. When I copied the code from your source code, the cin and cout also turned to orange || num 1, num2 to blue. What is this behavior in C++??

  • @urvashibhalerao5997
    @urvashibhalerao5997 11 месяцев назад

    Thanks Harry Bhai For wonderful content

  • @RehanAliArman-mt8pr
    @RehanAliArman-mt8pr 7 месяцев назад +2

    I think the error is that we have not declared variable for g

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

    Great🥰

  • @technicalknowledge9080
    @technicalknowledge9080 3 года назад +3

    12:34 It will throw error because we have not declared the prototype of function g

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

    Ur toooooo good at explaining

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

    Thank you sir

  • @sartajalam2237
    @sartajalam2237 2 года назад +4

    12:31 it will give error as you have not prototyped that function void before int main()

  • @imtiyaz_hasan_khan
    @imtiyaz_hasan_khan 4 года назад +4

    Thanks for continuing

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

      @@bhavyanavyadancechannel8276 bhai hasne vali kya baat hai ?

  • @Gutsss77
    @Gutsss77 8 месяцев назад

    Thanks a lott💖

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

    thanku;was struck in this for long
    😄

  • @Khusimehndi
    @Khusimehndi 2 года назад +1

    Nice ji apki vidio best h

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

    Amazing Man

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

    Thanks a lot 👍👍🔥🔥

  • @D-Coder440
    @D-Coder440 Год назад

    Thank You Harry Bro ❣️😊

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

    Thank You so much

  • @aaryan__bondekar9778
    @aaryan__bondekar9778 8 месяцев назад +2

    can we use the formal parameters as actual parameters with their name in course of the main function?

  • @csea_37_shayoribhowmick53
    @csea_37_shayoribhowmick53 2 года назад +1

    Thank you so much Sir

  • @UsmanZahid170
    @UsmanZahid170 Месяц назад

    Table of any number using function:
    #include
    using namespace std;
    void show(int);
    main(){
    int n;
    coutn;
    show(n);
    }
    void show(int a){
    int i;
    for(i=1;i

  • @dilipsahu3814
    @dilipsahu3814 4 года назад +2

    Harry bhai python k patterns par bhi video banaiye.

  • @prakamyakhare7505
    @prakamyakhare7505 4 года назад +6

    We may also write it in this way :-
    int sum(int a, int b)
    {
    return a + b;
    }

  • @rahulkesarkar2825
    @rahulkesarkar2825 2 года назад +1

    int harry: best;
    cout

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

    Explains very well.

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

    such a great person

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

    thanks for teching like that sir ,,

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

    Yes, It will give error. You have to enter void before g.

  • @KhurramShahzad-660
    @KhurramShahzad-660 6 месяцев назад +1

    Great sir

  • @akhtrabadsaraikivlog5877
    @akhtrabadsaraikivlog5877 3 года назад +6

    Love ❤️❤️❤️❤️❤️❤️❤️ from Pakistan.

  • @dhruvjain2874
    @dhruvjain2874 2 года назад +1

    12:33 Yes yeh run hoga because function ka type void h

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

    THANKS HARRY BHAI ☺

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

    Thank u 😊 sir ❤️

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

    Great 💯

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

    thanks you so much

  • @NASA..videos
    @NASA..videos 2 года назад

    thanku sooo much broooo

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

    thank you..
    Try to give some programs based on the topic for practice

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

    thanks harry bhai

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

    8:17 Harry sir i if i am not wrong ,this is called parameter not argument .what we keep inside function parenthesis is called parametre.

  • @BCCDAILYPAK
    @BCCDAILYPAK 2 года назад +573

    Ya ALLAH har insan kamyab ho har insan ko sehat izat or kamyabi ata farma Ameen.

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

    Thanku Soo much sir

  • @proprabhat221
    @proprabhat221 2 года назад +1

    Actual parameters are also called arguments.

  • @l-9techadda321
    @l-9techadda321 2 года назад

    Thanks Harry bhaiyea

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

    Thanks 🌹🌹🌹