54 - FUNCTIONS - C PROGRAMMING

  Рет қаралды 364,670

Sundeep Saradhi Kanthety

Sundeep Saradhi Kanthety

Күн бұрын

Пікірлер: 441
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi Viewers small mistake in program plz correct it. In the add function I have written res =a+b and it was wrong as we are passing x , y as arguments we have to write as res=x+y.
@rakshithappu1050
@rakshithappu1050 6 жыл бұрын
Thank u so much sir...I was struggling to understand basics but you explained it clearly :)
@shockwave3283
@shockwave3283 6 жыл бұрын
sir,should we declare x and y in function definition beside res?
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi yes we have to declare those x and y as parameters in the function because in the function declaration we have mentioned 2 arguments for the function call so the no. of parameters and function name in function declaration,function call and function definition should be same. Hope your doubt has been clarified.
@garimasingh7469
@garimasingh7469 6 жыл бұрын
Actually sir when I am running this code in the main comes a error that is declaration syntax error
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
HI GARIMA PLZ POST YOUR PROGRAM IN THIS COMMENT SECTION SO THAT I WILL TRY TO CLEAR IT.
@jinavlog811
@jinavlog811 3 жыл бұрын
I did not understand why some people dislike for this excellent teacher ~ thank you so much , love from MONGOLIA
@ipraveensemwal
@ipraveensemwal 5 жыл бұрын
Thank u Sir, I understood the Function Concepts in half an hour which I never understand whole semester. A big thanks
@sundeepsaradhi
@sundeepsaradhi 5 жыл бұрын
hi praveen Thanks for your support towards our channel.Share our channel with your friends and keep following our channel.
@harshakumar6407
@harshakumar6407 3 жыл бұрын
ur explanation of every topic in c language is really fantastic. I am B.E in E&C. But i dint studied c language. so i search many video in internet by many people. but i cant understand . but when i go through ur 72 video I understood perfectly. so i again see ur all video so that i will be get more knowledge. thank u very much.
@moropaneedwin4915
@moropaneedwin4915 6 жыл бұрын
Sir ,you are very good ,in fact you are an angel sent by God himself . I have been studying this topic for two weeks now and I could not understand it, but now after watching this video , I understand it very well and It starts to look so easy..You have made it really easy Sir and thank you for helping us ..I salute you
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi Edwin thanks for watching my sessions and supporting our channel.do subscribe to our channel and share with your friends and keep following our channel.
@MrVarunparmar
@MrVarunparmar 6 жыл бұрын
Man kinds angel...
@chandantaneja6388
@chandantaneja6388 5 жыл бұрын
BEST TEACHER FOUND OVER WHOLE KZbin FOR C LANGUAGE it was my luck that i found your amazing videos... and ur concepts are really awesome n i am sure it will help me in future... worthy videos n i can say that there is really good materials and teachers who are posting free lectures for the help and support of learners BIG THANKS TO U
@MayurKamatDoesStuff
@MayurKamatDoesStuff 6 жыл бұрын
I do timepass in the class and learn stuff from your channel 😀 thanks for the videos
@vinaykumarvadla9183
@vinaykumarvadla9183 5 жыл бұрын
I am also bro
@tendulkarb302
@tendulkarb302 6 жыл бұрын
Sir, I can say that your teaching is marvelous and I request one thing keep posting about concepts of c- programming.I cleared my doubts though this video,thank you sir.
@sarathas553
@sarathas553 3 жыл бұрын
YOUR EXPLANATION IS AWESOME SIR AND YOUR ACTIONS AND APPEARANCE LOOK LIKE AMRUTHAM HARSHAVARDHAN SIR😀😀😀😀
@iasaspirant1441
@iasaspirant1441 3 жыл бұрын
Same feeling broh 😀😀😀
@nareshmakkar4056
@nareshmakkar4056 2 жыл бұрын
Why we initialize c=0
@Seerat.Bashir
@Seerat.Bashir 6 жыл бұрын
Wowwwwww...u cleared my 1 month class confusions in just 40 min ..I regret why did not I see your video earlier..just pray for me guys..my exams are coming up
@sankhadipsamanta7708
@sankhadipsamanta7708 6 жыл бұрын
Thank u sir...really I have surmounted my all prblm after watching ur video...and have clarified my doubt..i just indeed need practice to be familiarised with different prblm...thank u so much sir...take a bow
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi sankhadip Thanks for watching my sessions and interest and support towards our channel.Keep following our channel.
@Hyderabad_cityviewer
@Hyderabad_cityviewer 4 жыл бұрын
Thank u very much sir, U r explanation is very good . i was very confused with functions topic ,by watching this video now i m very in this functions topic.
@Uday-yf4ue
@Uday-yf4ue 3 жыл бұрын
Tq sir . I absent for functions class in my college but I see your video I understand the functions topic
@madhulatha2989
@madhulatha2989 3 жыл бұрын
I'm very sad for not having ur videos on my college days 😭
@PAVA1GKWORLD
@PAVA1GKWORLD 6 жыл бұрын
I am preparing my own notes and didn’t understand in the first time but I watch again and got it clear . Superb!
@sravanmallepoola8873
@sravanmallepoola8873 6 жыл бұрын
i am more thankful for your channel.Helping me alot ,thank you very much sundeep garu
@prakashpanda2369
@prakashpanda2369 6 жыл бұрын
i think only you can clearly understand us that we can understand simply.so i only say you"thanks sir for these videos and i like your every videos which established my education.
@tamilalagan5833
@tamilalagan5833 Жыл бұрын
simply thanks is not enough for your service sir.. awesome work. heartful thanks to you..
@pushpaa9675
@pushpaa9675 4 жыл бұрын
Thank you so much sir from Nepal🙂 It really works for me to understand 😃
@vinaykumarvadla9183
@vinaykumarvadla9183 5 жыл бұрын
I couldn't understand with our lecture then watching your channel I improved my self in C
@nandhucharan5858
@nandhucharan5858 5 жыл бұрын
Sir u teaching skills is excellent sir ,now i understood clearly while watching ur video tq sir pls keep uploading c concepts
@jak9148
@jak9148 5 жыл бұрын
Greately explained sir. Thanks alot God bless you
@priyankagoura8815
@priyankagoura8815 5 жыл бұрын
Thank u sir..dis video was very helpful for me.. Ur teaching is very clear.. Thanks
@bujjimahesh6653
@bujjimahesh6653 3 жыл бұрын
I like your way of teaching awesome 🙂
@ayeshasheikh1937
@ayeshasheikh1937 5 жыл бұрын
Sir, Thank u soooooo very much for the video , it really helped me alot , now my concepts are clear , 😊
@aavalajyothipriya4824
@aavalajyothipriya4824 3 жыл бұрын
Sir your teaching is awesome 👌 sir but giving examples also sir .giving values to a,b .we are understanding more sir
@yogeshkanojia357
@yogeshkanojia357 6 жыл бұрын
thank you very much sir. this helped me very much to understand functions.
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi yogesh thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@surprise_madha2170
@surprise_madha2170 6 жыл бұрын
Sir go esay on board. Look at his enthusiasm 😂 .
@ganeshchintapalli9127
@ganeshchintapalli9127 3 жыл бұрын
Your class more useful sir.thanque very much.
@mohitrana7723
@mohitrana7723 6 жыл бұрын
Super sir. You explained it very nicely. Too good. Keep uploading such videos. It's really helpful. 👍👍👍👍
@biswajitchanda9661
@biswajitchanda9661 6 жыл бұрын
Sir thanks for help me clear my concept of function.🙏
@martinchege4418
@martinchege4418 3 жыл бұрын
sir you explain very well thank you.
@JaikishanJaikumar
@JaikishanJaikumar 5 жыл бұрын
Awesome sir U got a new subscriber
@067-radhikaaluvala6
@067-radhikaaluvala6 4 жыл бұрын
It's excellent sir my total doubt s are cleared regarding this topic sir
@sureshyandrapu1292
@sureshyandrapu1292 4 жыл бұрын
Thank you very much..I have learned a lot from your video sir..
@jessyjireh3486
@jessyjireh3486 5 жыл бұрын
sir thank you very much i understood user defined function.and sir at 34:00 in the user defined function in the parameters the values of a and b are copied to x and y so in the user defined res=a+b; showed error,res=x+y; is the statement that is to be executed since x and y are the variables in the user defined( ) and not a and b.But you have corrected it when you did not return anything to main( ) in the next example.But i understood what you have explained.thanks a lot
@prashantpandya6992
@prashantpandya6992 4 жыл бұрын
Sir, with all due respect, there's a mistake in the syntax of the function declaration. i.e. there should be a semi-colon after the function definition.
@vishalacharya5683
@vishalacharya5683 4 жыл бұрын
No bro there is no semicolon in function.
@venkateshwarreddy3336
@venkateshwarreddy3336 3 жыл бұрын
yes syntax wrong, the program doesnot run
@paulraj9729
@paulraj9729 6 жыл бұрын
Great video sir. Now I clearly understand udf
@akkshaymusician5075
@akkshaymusician5075 6 жыл бұрын
ur way of teaching is awesome and easily catchable can u pls explain the concept of encapsulation and abstraction in C++
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi akshay thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel. now i am going to start uploading the videos on python programming. and after that i will try to upload them.
@jayrajnaidu4475
@jayrajnaidu4475 6 жыл бұрын
U are awesome and ur videos are great makes learning c fun..great job sirji🎆🎆
@ishagupta3323
@ishagupta3323 5 жыл бұрын
In the place of res=a+b it will be res=x+y
@vishalacharya5683
@vishalacharya5683 4 жыл бұрын
Yes
@cheepatikarthikeyareddy8036
@cheepatikarthikeyareddy8036 3 жыл бұрын
I think we will write x+y also y because the values will change after the loop breaks when we enter into another loop so ur answer is correct and in my point of view it's correct I think
@bobbybindela1959
@bobbybindela1959 3 жыл бұрын
Thank you very much sir..! You really made great help to understand this concept.
@pritambhattacharya6978
@pritambhattacharya6978 6 жыл бұрын
1.What is the difference between FUNCTION & METHOD? Plz Explain 2.Upload video on Static Scoping and Dynamic Scoping?When we should apply static and when we should apply dynamic scoping??
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi Pritam thanks for your interest towards our channel and soon i will try to upload the video soon keep following our channel.
@snehabisht6059
@snehabisht6059 6 жыл бұрын
Function and method are same
@nisthadave6308
@nisthadave6308 4 жыл бұрын
Thankyou sir You make very easy to understand this topic. 😊
@arjuns1164
@arjuns1164 3 жыл бұрын
wonderfully explained....🙂🙂
@rushikeshanerao9511
@rushikeshanerao9511 3 жыл бұрын
Very well teach sir👍
@nisthadave6308
@nisthadave6308 4 жыл бұрын
Thankyou sir for this video I can now solve all my doubts .
@BoatBrothers22
@BoatBrothers22 5 жыл бұрын
Tnq sir clearly explaining to everyone am from tamilnadu
@lakhanparmar4348
@lakhanparmar4348 5 жыл бұрын
the video was very helpful for me 🙏
@sundeepsaradhi
@sundeepsaradhi 5 жыл бұрын
Hi Thank you for your support towards our channel share our channel with your friends and keep following our channel.
@beastboysagar8193
@beastboysagar8193 5 жыл бұрын
Thanks sir,Chala baga chepparu na doubts anni clear iyyayi
@shanigarapuanvesh5135
@shanigarapuanvesh5135 4 жыл бұрын
Hi Sir , you told user-defined function should not be written in main function. So when we come across adding two numbers using functions concept , we use SUM or ADD as function name .as it is a user-defined function (SUM) ,how u can use it in main function in function call statement like for example, we write sum=num1+num2; Explain this sir.
@sundeepsaradhi
@sundeepsaradhi 4 жыл бұрын
Inside the main function we have to write function call and outside the main function we hve to write function definition
@shanigarapuanvesh5135
@shanigarapuanvesh5135 4 жыл бұрын
Yes sir but sum is a user defined function and how can u write it in main function
@shashi_mind
@shashi_mind 5 жыл бұрын
Very nice teaching really good understanding sir
@dheepshiva2424
@dheepshiva2424 6 жыл бұрын
Thank you sir..I struggled a lot....Finally your video made me understand..
@vishnupriyajorrigala4773
@vishnupriyajorrigala4773 5 жыл бұрын
Sir why the functioncall is written inside the main and function definition is written outside the main
@utsavpatra9471
@utsavpatra9471 5 жыл бұрын
When u r... writing any code...to make it short we use function...in main function we use... function call...just to call the function to be performed....whic is already defined...outside main function....that is what function defenetion is!!!
@sundeepsaradhi
@sundeepsaradhi 5 жыл бұрын
Hi Vishnu priya actually our c compiler only executes the main function. to simplify the code we are diving entire program into subprograms so we are writing sub programs outside the main function and we will write reference of the subprogram (function call) in main function. Hope your doubt has been clarified.
@vishnupriyajorrigala4773
@vishnupriyajorrigala4773 5 жыл бұрын
Tq sir
@gourishnaik1024
@gourishnaik1024 5 жыл бұрын
very nice teaching sir.....thank u
@Farahat1234
@Farahat1234 6 жыл бұрын
Sir apke har video bhut ache hote h.
@FitnessWellnessGuru
@FitnessWellnessGuru 5 жыл бұрын
Sir At timing 30:13 function parameters of function definition the variable will be a and b instead of X and y If I am wrong correct me Thanks a lot Sir
@srujanatata5213
@srujanatata5213 5 жыл бұрын
please add some more examples which makes us easy to understand
@priyankadasari8995
@priyankadasari8995 7 жыл бұрын
very good teaching sir, can you please lecture on c++ concepts.
@sundeepsaradhi
@sundeepsaradhi 7 жыл бұрын
thank you priyanka after completion of Security concepts i will upload..
@akshayav9605
@akshayav9605 3 жыл бұрын
Thank u sir 👍🏻😁😁😁...
@samakshsharma2940
@samakshsharma2940 5 жыл бұрын
Very good explaination .. thnk u
@dramanediarra4574
@dramanediarra4574 7 жыл бұрын
very good teaching ,sir can you please make the lecture on "FILE".am very confused about that lesson .thank you
@sundeepsaradhi
@sundeepsaradhi 7 жыл бұрын
hi darmane definitely i will upload the FILES concept either today or tomorrow. thanks for watching my sessions.
@sundeepsaradhi
@sundeepsaradhi 7 жыл бұрын
Hi dramane plz make a selfie video with your feedback on my KZbin channel and send to my WhatsApp number 9885466061 expecting feedback from you today and i will upload all the feedbacks in our channel. Thanks for watching my sessions.
@dramanediarra4574
@dramanediarra4574 7 жыл бұрын
thanks you sir i will do it no problem ,and thank you for uploding file
@sundeepsaradhi
@sundeepsaradhi 7 жыл бұрын
always welcome diarra..
@rakeshnaidu7115
@rakeshnaidu7115 6 жыл бұрын
its our privilege to have such a great teachers thank u sir perfect explanation
@SaranyaSaranya-cc4fs
@SaranyaSaranya-cc4fs 3 жыл бұрын
Awesome sir..thank you so much sir
@kingtekken1
@kingtekken1 4 жыл бұрын
really appreciate for no ads!
@greeshmagunnam6946
@greeshmagunnam6946 3 жыл бұрын
Function declaration should always end with a semicolon, if we don't keep a semicolon the compiler will think of it as a function definition, as we don't have any body it will throw an error.
@saisriharshayellaboyina2434
@saisriharshayellaboyina2434 3 жыл бұрын
Sir calling function and function call are same ?? Or not ,if not why??
@neeraneerababu389
@neeraneerababu389 4 жыл бұрын
Int add (intx,inty) ( Int res; res=x+y; return res; ) Sir I have the doubt here Why we are not use x and y in the place of a and b ...like res=a+b;
@o_o4552
@o_o4552 4 жыл бұрын
Do you know the reason.. I have the same doubt!!
@chbhavani
@chbhavani 4 жыл бұрын
Because we took here parameters (intx,inty)
@sudhansushekharpatra7168
@sudhansushekharpatra7168 4 жыл бұрын
@@chbhavani yes correct actually here were u are creating function the X and y are the variable where u can put any value.... So it is not that if I used variable in creating will not be same of the main function😍😍😍
@brightmodesci360
@brightmodesci360 3 жыл бұрын
Super sir it was very nice 👌 👋 👌 👋 👌 👋 👌 👋 👌 👋 👌 👋
@Rakesh-ed4nn
@Rakesh-ed4nn 3 жыл бұрын
sir in function declaration, is semi colon is not mandatory ?
@guttulanookaraju8958
@guttulanookaraju8958 6 жыл бұрын
We need more advanced topics in this functions topics
@parpudinaresh6295
@parpudinaresh6295 6 жыл бұрын
excellent sir, can we have linked list programming in c and double linked list also ??
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi naresh definitely but first let me complete the videos on network security and then i will go to data structures.
@parpudinaresh6295
@parpudinaresh6295 6 жыл бұрын
ok.sir , thanks ! I shared your channel to my friends :) keep up the good work sir !
@arunadevi6665
@arunadevi6665 5 жыл бұрын
Super sir...I understood the concept..
@Farahat1234
@Farahat1234 6 жыл бұрын
You clear each and every concept. Thank you soo muchh😊😊😊
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi farahat Thanks for your support and interest towards our channel and share our channel with your friends. Keep following our channel.
@NaveenReddy-is1cw
@NaveenReddy-is1cw 5 жыл бұрын
super sir now I understand clearly . tq sir
@rittikroy1342
@rittikroy1342 5 жыл бұрын
Great explanation sir.... Thank u
@melsaudio4527
@melsaudio4527 4 жыл бұрын
sir i am getting a this error - [Error] expected unqualified-id before '{' token pls help sir.
@tariqiqbal3772
@tariqiqbal3772 4 жыл бұрын
at the end of 2nd row of code where function declaration ends semicolon(;) missed. placed the semicolon at the end of function declaration and execute the program . error will remove. regards #TARIQIQAL
@varalaxmivaru92
@varalaxmivaru92 4 жыл бұрын
Very clear explanation thanks sir
@adityalokhande7465
@adityalokhande7465 6 жыл бұрын
At 25:30 should we need not to put semicolons after the declaration.
@saikrishnaathulb4885
@saikrishnaathulb4885 3 жыл бұрын
sir small doubt can actual parameters be called arguments???
@sharathchandra6349
@sharathchandra6349 5 жыл бұрын
U r just above average
@bhavurudinesh3279
@bhavurudinesh3279 5 жыл бұрын
Sir you are teaching excellent
@alphamen7721
@alphamen7721 4 жыл бұрын
Great explanation sir☺☺
@artistx2816
@artistx2816 6 жыл бұрын
Best online
@Shreya-jv4je
@Shreya-jv4je 4 жыл бұрын
Very good explanation Tysm sir ❤
@jhansinalla5561
@jhansinalla5561 3 жыл бұрын
U cleared my doubt
@manjud844
@manjud844 6 жыл бұрын
si,r in function definition we have to add res=x+y;
@loganayagis52
@loganayagis52 5 жыл бұрын
Same doubt for me also
@sathyanarayanan4624
@sathyanarayanan4624 6 жыл бұрын
sir, in the function call, you have written only add(a, b); you didn't mention the datatype....is it correct sir? please clarify my doubt sir.
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Hi Yes we need not mention datatypes in function call which is written in main function. We have to mention datatypes in function declaration which is written at above the main function. Hope your doubt has been clarified.
@sathyanarayanan4624
@sathyanarayanan4624 6 жыл бұрын
Thank you sir😊
@sirishasangu5626
@sirishasangu5626 7 жыл бұрын
Hi sir I like you concept of saying can you please say about the non-formatted i/o put operations
@sundeepsaradhi
@sundeepsaradhi 7 жыл бұрын
hi sirisha thanks for your interest towards our channel and soon i will try to upload the other i/o operations.
@ishagupta3323
@ishagupta3323 5 жыл бұрын
Too much Beneficial to me😊😊
@prachitiwari3832
@prachitiwari3832 3 жыл бұрын
Sir you didn't put semicolon after function declaration
@saifoods
@saifoods 3 жыл бұрын
sir function defination ki importance chepacha u tell three points
@tamilmaranc
@tamilmaranc 4 жыл бұрын
excellent sir thanking for video
@srikanth1947
@srikanth1947 6 жыл бұрын
Excellent teaching.
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
hi srikanth thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@johny6702
@johny6702 6 жыл бұрын
Very good explanation
@user-jk7fx3hz4k
@user-jk7fx3hz4k 3 жыл бұрын
Teaching is good but Pl write in big font on the board...
@sanchitapahade4075
@sanchitapahade4075 6 жыл бұрын
Hello sir is it correct int add(int x, int y) int res; res=x+y; // formal arguments return res;
@sundeepsaradhi
@sundeepsaradhi 6 жыл бұрын
Yes correct. Thanks for your support towards our channel and keep on following our channel
@Sto.ckmaster
@Sto.ckmaster 5 жыл бұрын
Yes it's right
@omkarpatel2344
@omkarpatel2344 6 жыл бұрын
Sir u made me it easy..😁😁😁
@aravindsinganaboina6742
@aravindsinganaboina6742 2 жыл бұрын
What is difference between predefine function and userdefine function
@ekambaresht9851
@ekambaresht9851 6 жыл бұрын
Another one ! For empty return what will execute !! What is the output for empty return!!
55 - CATEGORIES OF FUNCTION DEFINITIONS - C PROGRAMMING
20:12
Sundeep Saradhi Kanthety
Рет қаралды 93 М.
64 - STRUCTURES - C PROGRAMMING
27:00
Sundeep Saradhi Kanthety
Рет қаралды 205 М.
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
47 - STRINGS or CHARACTER ARRAYS - C PROGRAMMING
39:22
Sundeep Saradhi Kanthety
Рет қаралды 158 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 187 М.
17 - SWITCH CASE WITH EXAMPLE - C PROGRAMMING
21:58
Sundeep Saradhi Kanthety
Рет қаралды 195 М.
56 - CALL BY VALUE & CALL BY REFERENCE (PARAMETER PASSING TECHNIQUES) - C PROGRAMMING
25:51
Math graphs but they get increasingly more stunning
8:03
The Math Wizard
Рет қаралды 289
48 - STRING HANDLING FUNCTIONS - C PROGRAMMING
35:19
Sundeep Saradhi Kanthety
Рет қаралды 130 М.
C_104 Recursion in C | Introduction to Recursion
18:51
Jenny's Lectures CS IT
Рет қаралды 480 М.
sin(x+y)°=?
11:15
Mathematopia
Рет қаралды 24