Sir you told (functions video) that we can't use same variable in boths the functions . But u are using same variable x in both the functions main & sum . Sir please clarify this doubt can we use same variable in both the functions...............
Bro u r right but sir told us that we can't make same variable in function . But here both x are different. X of main function or X of sum function are different . It physically looks same but both are different internally .
First of all, variable X of main function and variable X of sum function are totally different. When calling the sum() function, VALUE in X in main() function transfer to in another variable X in sum() function. Note that Not the Whole VARIABLE is transferred from function to function. So U can use same Variables in different functions because they are different.
Could you make the same tutorials in English or could you put subtitles in English, please? I'd like to understand your lessons but I'm from Italy and I can't speak Hindi.
Federico Lopriore hey why did you edit your comment. I was going to suggest some tutorials in English. The new Boston is good Some other English Indian channels are learning lad. And I know many but can remember. Yes he's awesome teacher better than my college. If you are computer science student you can watch nptel. It's very famous all over the world
Easy to understand in Hindi instead of English.......best viedo .....very useful to student like us........thanks
Your videos is old but gold ☺️
Very eassy logic sir .
Thankyou very much.
Nice explanation 👍🏻👍🏻👍🏻
Great video ☺️
*Thank you so much sir for easy to explain*😊
Why no one likes such wonderful videos 😞😞😞
No.
Really so sad yar 😢😢😢😢😢😢
Great 👍
ur video r so helpfull for us.
thank u sir
Excellent teaching
sir thanks for uploading videos regularly
nyc
Thanx Sir
Thank you sir
sir recursion km smjha aara h ky kruu..???? as a begineer sir dekho toh lgta h aata tha practice bhi bhut krra hu phr bhi ni hora h......
Sir in the a%10+ sum(a/10 ) I have doubt that if there us another way without using mod operation
How to form formula in recursion
sir argument lena ya pass krne ka kya mtlb hai pls sir
Sir you told (functions video) that we can't use same variable in boths the functions . But u are using same variable x in both the functions main & sum . Sir please clarify this doubt can we use same variable in both the functions...............
Bro u r right but sir told us that we can't make same variable in function . But here both x are different. X of main function or X of sum function are different . It physically looks same but both are different internally .
First of all, variable X of main function and variable X of sum function are totally different.
When calling the sum() function, VALUE in X in main() function transfer to in another variable X in sum() function.
Note that Not the Whole VARIABLE is transferred from function to function.
So U can use same Variables in different functions because they are different.
sir can i use this logic...
int dsum(int x) {
int s=0,sum=0;
while(x){
s=x%10;
sum=sum+s;
dsum(int x/10)
}
return(sum)
Ya sure
Sir PHP k lecs b mailen gayn ? apki site per
yes, visit www.mysirg.com
thanks for the reply :) i will check ..
How it add if I pass 2 number
If the number is negative , let's say -23 , how do i find the sum ? condition is that only the sum should be printed..Sign of the number is neglected
Could you make the same tutorials in English or could you put subtitles in English, please? I'd like to understand your lessons but I'm from Italy and I can't speak Hindi.
oh I am afraid I can't fulfill your request in near future, but I will try
Any special reason for choosing his tutorials?
Ayush Saxena I think they are so good and the playlist is always upgraded
Federico Lopriore hey why did you edit your comment. I was going to suggest some tutorials in English.
The new Boston is good
Some other English Indian channels are learning lad. And I know many but can remember.
Yes he's awesome teacher better than my college.
If you are computer science student you can watch nptel. It's very famous all over the world
Ok, thanks a lot. I did it by mistake
Thanku sir