Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@k.sshashikala39155 жыл бұрын
You have to do the operation with temp inside while loop
@existingstars36654 жыл бұрын
Binary to decimal conversion c programming can you please teach
@karthikgamers70692 жыл бұрын
Yes
@--Asha--6 жыл бұрын
Noone can explain like Mr.Srinivas.He is so good in explaining things.
@ebrimadem52875 жыл бұрын
Yeah
@oproyalkings30484 жыл бұрын
Who is srinivas
@harideep33 жыл бұрын
@@oproyalkings3048 MA inti pakkana punugulu ammutaadu
@RidiculousAman3 жыл бұрын
@@oproyalkings3048 he is sir who is teaching, fool🤦🏻♂️
@shaikahmadnawaz1183 жыл бұрын
@@harideep3 🤭
@rockingbalu36526 жыл бұрын
One of best tutorial i have never seen
@ankittiwari57105 жыл бұрын
Srinivas sir explains program in a very easier and understandable way
@goyaldeekshant4 жыл бұрын
Here is the complete code: #include main() { int n,r,sum=0; printf("enter the value of n: "); scanf("%d",&n); int temp=n; while(n>0) { r=n%10; sum=sum*10+r; n=n/10; } if(sum==temp) printf("the number %d is a palindrome",temp); else printf("the number %d is not palindrome",temp); }
@foodandlifestylee2 жыл бұрын
Can you say is this code for ...(string is palindrome or not with library functions or without library functions)
@goyaldeekshant2 жыл бұрын
@@foodandlifestylee it is without library function
@mehathabegam62622 жыл бұрын
Tqs
@jhumurshill862011 ай бұрын
You're best teacher❤.. Love from Bangladesh.
@meghanachittoju76475 жыл бұрын
really ur explation is awesome sir .no one can explain like this .thank u so much sir
@kuntumallaleela77126 жыл бұрын
Whoever see this getting easily tq for uploading sir
@sureshsubramaniyan32014 жыл бұрын
I have seen more video about palindrome but can not understand the concept ..After watching your video able to understand the logic and special thanks for your concise explanation and if possible please make a video using eclipse and share with us.
@jozz49364 жыл бұрын
Your are good teacher to teach student easily understand 👍
@lalithasingampalli51735 жыл бұрын
Any student need a teacher like u sir
@mustakahmad6565 Жыл бұрын
Very nice explanation method for easier to understand.
@karanvedi67792 жыл бұрын
Very helpfull sir,,thank you🙏🙏
@shaileshthorat39284 жыл бұрын
Ekdum Sahi tarike se samjhaya sir 👍👍❤️❤️❤️
@sudarshanmhaisdhune10393 жыл бұрын
Such a great explanation Shrinivas sir!
@foodandlifestylee2 жыл бұрын
Can you say is this code for ...(string is palindrome or not with library functions or without library functions)
@SmartProgramming6 жыл бұрын
good sir, way of explanation is really awesome, best wishes 👍👍
@chetlaabhilash2 жыл бұрын
Sir I have a one doubt I.e u know all c programming Why do not join in compami
@parashualwaysat38115 жыл бұрын
Soo good please upload some more interview programs
@sawshubh50043 жыл бұрын
no need to recollect n value we can directly compare temp == sum just saying btw great tutorial.
@debapriyaroy14985 жыл бұрын
Really helpful sir, can get the codes for string palindrome
@prabhatbhalla4 жыл бұрын
shouldn,t we store the temp value before the while loop? because if we do after the while loop, then temp is also holding the last value of n which is 0?
@nehalokalwar92584 жыл бұрын
Thanks for making this video....its very helpful sir....awesome teaching
@dalaldalal24512 жыл бұрын
sir you explaining very good, but this lecture I understand till 4:38. I don't understand why temp = n, please can you explain ? thanks.
@siddhant20022 жыл бұрын
At the end of the loop, n value will be change to zero, so how will you compare the orignal n value with new sum value ? so declare new (temp) variable and copy the value into that new (temp) variable, we are not performing any operation with that new (temp) variable so it won't change, we can now compare the value
@jainulabdeen91196 жыл бұрын
sir your teaching method is simple ..it's really help the beginers ,like me..thanking you sir.
@geethag62296 жыл бұрын
Sir give brief explanation abt Advanced C version frequent qn facing in interview..
@subhu1435 жыл бұрын
Yes I want also
@-NGayathri-cc8dq4 жыл бұрын
S me too
@VijayKumar-cn5ts7 жыл бұрын
Thanks You Srinivas, very informative session
@NKADAESWAR3 жыл бұрын
Sir ,in if condition we need to compare temp variable not 'n'
@jayapavithra47625 жыл бұрын
Sir,if u r storing n value to temp variable,then the value n will be transmitted to temp variable.how can we able to process the underlying while loop?.pls tell me how this process is undergoing?
@karthikeyan-lv6wu5 жыл бұрын
Watch clearly, temp is used to retrieve the original variable that the user passes and it is retrieved as temp=n and temp didn't used inside the while loop
@boy.54 Жыл бұрын
Such a great explanation...thank u sir..
@marshallyt39362 жыл бұрын
#include void main() { int n, r, temp, sum=0; printf("Enter any number: "); scanf("%d",&n); temp=n; while(n>0) { r=n%10; sum=sum*10+r; n=n/10; } n=temp; if(n==sum) printf("The number is palindrome number"); else printf("The number is not palindrome number"); } program for palindrome number, hope you all enjoy.
@ranjeetkaur78294 жыл бұрын
Thank you soo much ,now I get to know how I find no.is palindrome
@venkateshdammala74 жыл бұрын
Sir, but we did declare any temp variable during perfect number checking but here we are declaring temp variable why sir..just give me reason ??.. or else we are just using temp variable for safe .
@MaheshBabu-uj3jl2 жыл бұрын
n=temp; // it is not needed we can write directly if(temp==sum) condition
@allamrajumadhuri47484 жыл бұрын
Which complier are you using to compile this program sir
@learningmaths7865 жыл бұрын
Super way of teaching
@sumitaasharma28236 жыл бұрын
Sir ur awesome and very helpful tooo
@ganeshjaggineni40972 жыл бұрын
NICE SUPER EXCELLENT MOTIVATED
@bindubindu72082 жыл бұрын
Its nice explanation but comments hiding last two lines of programming it is little messy
@sivamandadi46915 жыл бұрын
Always we starts a program with#includ but in this??
@prakashrai79365 жыл бұрын
love you sir g, slight pronunciation issue but concept is very clear,pronunciation of remainder not reminder,hoping you will not mind,its with good faith.
@prabhanjandesai42926 жыл бұрын
Sir nice teaching I prefer ur teaching over our teachers
@khush072 жыл бұрын
You explained this really well , thankyou soo much.
@vijaygaikwad78663 жыл бұрын
Thankyou sir helped me alot
@bharat38272 жыл бұрын
Super explanation👍👍
@bhaveshchoudhary33533 жыл бұрын
thankyou sir i understand very easelyyyyyyy
@mamillamounika7286 жыл бұрын
Super explanation.....sir
@bhasurumadhavi13983 жыл бұрын
Nice explanation sir
@20_SinManya5 жыл бұрын
I have one doubt: Is '1001' is a palindrome (Note the single quotes before answering)?It would be very nice if you can show the program using strings.
@suvin48422 жыл бұрын
It's a character
@vikaspuranik54252 жыл бұрын
Wonderful explanation, Thanks 😊
@madhuvajjarala97233 жыл бұрын
Super explanation sir
@siddheshpatil5092 жыл бұрын
Thanks sir for your efforts......
@jessyvlogs296 жыл бұрын
In the code lastly we can directly compare with temp== sum, no need to store the value (n= temp).. unnecessary code extra one line right? Please follow good coding standards to improve the performance of program always! Thanks.
@nehamanral42813 жыл бұрын
very helpful thnk you sir
@anshdholakia7144 жыл бұрын
sir can we put n==sum in the condition of the while loop?
@-M-Viswas4 жыл бұрын
nice explination sir
@leelavathir30393 жыл бұрын
V SD initialize temp=n; And if(temp==sum)
@arthbarbate7429 ай бұрын
naresh institute of technology
@madhurimadas96354 жыл бұрын
Sir, when to use while loop and when to use for loop? please reply
@nageswarankuppa28194 жыл бұрын
Both are doing the same work. If you have to work with more loops..... Then use while as the first loop and jse for loop for rest others
@chitranshukashyap90504 жыл бұрын
if yuhh have an incremet or decrement in your program then use for loop else use while
@aio15493 жыл бұрын
So nice of you sir. Thank you so much
@SudiptoMW74 жыл бұрын
Explained well
@yashibhardwaj23293 жыл бұрын
I just want to know please help why we choose r=n%10 why dont we choose 1000 tbhi to humara decimal k baad 5 aaega ya rem 5 aaega plz help me
@anantsingh56993 жыл бұрын
N ko 10 se divide karenge to last digit value mil jayegi ...... 1000 se isiliye use nahi kiya kyunki hame pta nahi h ki number kitne digit ka h ...... I hope ..Your doubt will be clear....
@harcharansingh19975 жыл бұрын
Sir I have a problem here how can we know that in this programe sum=sum×10+r
@jayhokte72343 жыл бұрын
Bhai agr koii v number completely divide nh hota h toh Hume use completely divisible bnane k liye agr usme reminder add krde toh obvious si baat h vo divisible ho jaayega n so for making it completely divisible we add remainder aur rhi baat* 10 ki toh jb hum single digit m convert krne k liye 10 se divide kr rhe the toh vapas original value bnane k liye 10 se hi multiply Karna pdega n : Let's take an example : when we divide 48 / 5 = we get remainder 3 and if we subtract 3 From 48 or we add 3 in 45 we get completely divisible..hope you understand what I'm trying to said..
@md.jamilkhan83266 жыл бұрын
Very nice explanation Sir😊😊😊😊
@muralisahu19095 жыл бұрын
Sir I have a doubt why Fibonacci series undergo for loop and palindrome no in while loop. Is it's vice versa possible means Fibonacci series undergo while loop and palindrome no undergo for loop .plz plz clear my doubt
@ishanksuri5 жыл бұрын
its possible.
@muralisahu19095 жыл бұрын
@@ishanksuri how is it possible give me reply
@sukhenhalder4u2 жыл бұрын
You're great sir
@rgb85343 жыл бұрын
DO we have to memorize the while loop?
@35.sonikumari3 жыл бұрын
Hloo sir I need a program on palindrome string ,, here I can understand ur way .. 🥺🥺so can yuh please understood me palindrome string please 🥺
@vittalpatroti97395 жыл бұрын
hlo sir, ur explaination is understanding and good and plz make the videos on programes of diploma c language ........
@prathyusharaju75965 жыл бұрын
Superb sir your are just awesome sir
@sanjaykhandelwal16122 жыл бұрын
Palindrome is a type of work which is same meaning for reading alphabet forward and backward
@binaryphil942 жыл бұрын
Very helpful
@AllinOne-kp8bp2 жыл бұрын
Clear explanation ❤️
@jstar21352 жыл бұрын
Thank you sir.
@kaustubhlangade54205 жыл бұрын
The way of explanation is too good!!!!!
@hanadotexe4 жыл бұрын
you are brilliant! thank you very much.
@vandamme54873 жыл бұрын
Sir you helped me alot🙏
@mayankraj96904 жыл бұрын
Can we use for loop?
@nithinanto71073 жыл бұрын
What is the use of, read n; statement
@EBKCS_KOMALSHARMA4 жыл бұрын
u r best sir
@abhignanrayaprolu64035 жыл бұрын
Srinivas sir meeru thopu sirr
@BrowseOnIncognito5 жыл бұрын
Nice sir, can you made video for keyword or not.
@manibalan96337 жыл бұрын
Thank for given your knowledge sir
@meghnabiswas66665 жыл бұрын
thanks a lot sir. its really helpful....
@trivokim81653 жыл бұрын
Would you mind giving your C programming list on KZbin? thanks so much.
@stacykeibler26805 жыл бұрын
When i enter 10 digit or more than 10digit palindrome number, the output comes as "Not palindrome number".could you please tell me why is that?
@shauryakajiwala86224 жыл бұрын
dontake int as datatype take long as datatype.It happens because int can not store that much amount of long value
@stacykeibler26804 жыл бұрын
@@shauryakajiwala8622 thanks!
@rasaznikachowdari03014 жыл бұрын
I have a doubt in this program already we have taken n right then y need of taking temp and y n value is given there
@akankshasri24344 жыл бұрын
bcs..in while loop 'n' value becomes zero in the last iteration..when we compare n value with the sum..0==5225...to avoid this problem..first of all we need to store n value ie., 5225 in temp variable..then after while loop we are storing temp value ie.,5225 into the n which s previously zero..so now n becomes 5225...n==sum.. hope u understood
@rparthibanfighter58993 жыл бұрын
Why u should use only 10 in reverse statement n in sum statements
@mathstitude39144 жыл бұрын
nicely described #mathstitude #palindromenumber
@sailakshminasina70195 жыл бұрын
Sir can you explain about , How to reverse and add a number until we get the palindrome number in c language ??
@manjulamanju93445 жыл бұрын
Very good
@anishpatel44466 жыл бұрын
sir! i have been done good guide and working by this institute.......
@shashank_d_a3 жыл бұрын
Thanks sir....🙇
@udaypatel8783 жыл бұрын
Sir u must deserve a 😘
@prathameshsarode80043 жыл бұрын
Thank you so much sir❤
@shaikmehatab99184 жыл бұрын
sir explain us some numbers programs like kaprekar number etc.,