Palindrome Number Program in C | C Language Tutorial | Mr. Srinivas

  Рет қаралды 831,400

Naresh i Technologies

Naresh i Technologies

Күн бұрын

Пікірлер: 314
@NareshIT
@NareshIT 5 жыл бұрын
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.sshashikala3915
@k.sshashikala3915 5 жыл бұрын
You have to do the operation with temp inside while loop
@existingstars3665
@existingstars3665 4 жыл бұрын
Binary to decimal conversion c programming can you please teach
@karthikgamers7069
@karthikgamers7069 2 жыл бұрын
Yes
@--Asha--
@--Asha-- 6 жыл бұрын
Noone can explain like Mr.Srinivas.He is so good in explaining things.
@ebrimadem5287
@ebrimadem5287 5 жыл бұрын
Yeah
@oproyalkings3048
@oproyalkings3048 4 жыл бұрын
Who is srinivas
@harideep3
@harideep3 3 жыл бұрын
@@oproyalkings3048 MA inti pakkana punugulu ammutaadu
@RidiculousAman
@RidiculousAman 3 жыл бұрын
@@oproyalkings3048 he is sir who is teaching, fool🤦🏻‍♂️
@shaikahmadnawaz118
@shaikahmadnawaz118 3 жыл бұрын
@@harideep3 🤭
@rockingbalu3652
@rockingbalu3652 6 жыл бұрын
One of best tutorial i have never seen
@ankittiwari5710
@ankittiwari5710 5 жыл бұрын
Srinivas sir explains program in a very easier and understandable way
@goyaldeekshant
@goyaldeekshant 4 жыл бұрын
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); }
@foodandlifestylee
@foodandlifestylee 2 жыл бұрын
Can you say is this code for ...(string is palindrome or not with library functions or without library functions)
@goyaldeekshant
@goyaldeekshant 2 жыл бұрын
@@foodandlifestylee it is without library function
@mehathabegam6262
@mehathabegam6262 2 жыл бұрын
Tqs
@jhumurshill8620
@jhumurshill8620 11 ай бұрын
You're best teacher❤.. Love from Bangladesh.
@meghanachittoju7647
@meghanachittoju7647 5 жыл бұрын
really ur explation is awesome sir .no one can explain like this .thank u so much sir
@kuntumallaleela7712
@kuntumallaleela7712 6 жыл бұрын
Whoever see this getting easily tq for uploading sir
@sureshsubramaniyan3201
@sureshsubramaniyan3201 4 жыл бұрын
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.
@jozz4936
@jozz4936 4 жыл бұрын
Your are good teacher to teach student easily understand 👍
@lalithasingampalli5173
@lalithasingampalli5173 5 жыл бұрын
Any student need a teacher like u sir
@mustakahmad6565
@mustakahmad6565 Жыл бұрын
Very nice explanation method for easier to understand.
@karanvedi6779
@karanvedi6779 2 жыл бұрын
Very helpfull sir,,thank you🙏🙏
@shaileshthorat3928
@shaileshthorat3928 4 жыл бұрын
Ekdum Sahi tarike se samjhaya sir 👍👍❤️❤️❤️
@sudarshanmhaisdhune1039
@sudarshanmhaisdhune1039 3 жыл бұрын
Such a great explanation Shrinivas sir!
@foodandlifestylee
@foodandlifestylee 2 жыл бұрын
Can you say is this code for ...(string is palindrome or not with library functions or without library functions)
@SmartProgramming
@SmartProgramming 6 жыл бұрын
good sir, way of explanation is really awesome, best wishes 👍👍
@chetlaabhilash
@chetlaabhilash 2 жыл бұрын
Sir I have a one doubt I.e u know all c programming Why do not join in compami
@parashualwaysat3811
@parashualwaysat3811 5 жыл бұрын
Soo good please upload some more interview programs
@sawshubh5004
@sawshubh5004 3 жыл бұрын
no need to recollect n value we can directly compare temp == sum just saying btw great tutorial.
@debapriyaroy1498
@debapriyaroy1498 5 жыл бұрын
Really helpful sir, can get the codes for string palindrome
@prabhatbhalla
@prabhatbhalla 4 жыл бұрын
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?
@nehalokalwar9258
@nehalokalwar9258 4 жыл бұрын
Thanks for making this video....its very helpful sir....awesome teaching
@dalaldalal2451
@dalaldalal2451 2 жыл бұрын
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.
@siddhant2002
@siddhant2002 2 жыл бұрын
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
@jainulabdeen9119
@jainulabdeen9119 6 жыл бұрын
sir your teaching method is simple ..it's really help the beginers ,like me..thanking you sir.
@geethag6229
@geethag6229 6 жыл бұрын
Sir give brief explanation abt Advanced C version frequent qn facing in interview..
@subhu143
@subhu143 5 жыл бұрын
Yes I want also
@-NGayathri-cc8dq
@-NGayathri-cc8dq 4 жыл бұрын
S me too
@VijayKumar-cn5ts
@VijayKumar-cn5ts 7 жыл бұрын
Thanks You Srinivas, very informative session
@NKADAESWAR
@NKADAESWAR 3 жыл бұрын
Sir ,in if condition we need to compare temp variable not 'n'
@jayapavithra4762
@jayapavithra4762 5 жыл бұрын
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-lv6wu
@karthikeyan-lv6wu 5 жыл бұрын
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
@boy.54 Жыл бұрын
Such a great explanation...thank u sir..
@marshallyt3936
@marshallyt3936 2 жыл бұрын
#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.
@ranjeetkaur7829
@ranjeetkaur7829 4 жыл бұрын
Thank you soo much ,now I get to know how I find no.is palindrome
@venkateshdammala7
@venkateshdammala7 4 жыл бұрын
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-uj3jl
@MaheshBabu-uj3jl 2 жыл бұрын
n=temp; // it is not needed we can write directly if(temp==sum) condition
@allamrajumadhuri4748
@allamrajumadhuri4748 4 жыл бұрын
Which complier are you using to compile this program sir
@learningmaths786
@learningmaths786 5 жыл бұрын
Super way of teaching
@sumitaasharma2823
@sumitaasharma2823 6 жыл бұрын
Sir ur awesome and very helpful tooo
@ganeshjaggineni4097
@ganeshjaggineni4097 2 жыл бұрын
NICE SUPER EXCELLENT MOTIVATED
@bindubindu7208
@bindubindu7208 2 жыл бұрын
Its nice explanation but comments hiding last two lines of programming it is little messy
@sivamandadi4691
@sivamandadi4691 5 жыл бұрын
Always we starts a program with#includ but in this??
@prakashrai7936
@prakashrai7936 5 жыл бұрын
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.
@prabhanjandesai4292
@prabhanjandesai4292 6 жыл бұрын
Sir nice teaching I prefer ur teaching over our teachers
@khush07
@khush07 2 жыл бұрын
You explained this really well , thankyou soo much.
@vijaygaikwad7866
@vijaygaikwad7866 3 жыл бұрын
Thankyou sir helped me alot
@bharat3827
@bharat3827 2 жыл бұрын
Super explanation👍👍
@bhaveshchoudhary3353
@bhaveshchoudhary3353 3 жыл бұрын
thankyou sir i understand very easelyyyyyyy
@mamillamounika728
@mamillamounika728 6 жыл бұрын
Super explanation.....sir
@bhasurumadhavi1398
@bhasurumadhavi1398 3 жыл бұрын
Nice explanation sir
@20_SinManya
@20_SinManya 5 жыл бұрын
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.
@suvin4842
@suvin4842 2 жыл бұрын
It's a character
@vikaspuranik5425
@vikaspuranik5425 2 жыл бұрын
Wonderful explanation, Thanks 😊
@madhuvajjarala9723
@madhuvajjarala9723 3 жыл бұрын
Super explanation sir
@siddheshpatil509
@siddheshpatil509 2 жыл бұрын
Thanks sir for your efforts......
@jessyvlogs29
@jessyvlogs29 6 жыл бұрын
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.
@nehamanral4281
@nehamanral4281 3 жыл бұрын
very helpful thnk you sir
@anshdholakia714
@anshdholakia714 4 жыл бұрын
sir can we put n==sum in the condition of the while loop?
@-M-Viswas
@-M-Viswas 4 жыл бұрын
nice explination sir
@leelavathir3039
@leelavathir3039 3 жыл бұрын
V SD initialize temp=n; And if(temp==sum)
@arthbarbate742
@arthbarbate742 9 ай бұрын
naresh institute of technology
@madhurimadas9635
@madhurimadas9635 4 жыл бұрын
Sir, when to use while loop and when to use for loop? please reply
@nageswarankuppa2819
@nageswarankuppa2819 4 жыл бұрын
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
@chitranshukashyap9050
@chitranshukashyap9050 4 жыл бұрын
if yuhh have an incremet or decrement in your program then use for loop else use while
@aio1549
@aio1549 3 жыл бұрын
So nice of you sir. Thank you so much
@SudiptoMW7
@SudiptoMW7 4 жыл бұрын
Explained well
@yashibhardwaj2329
@yashibhardwaj2329 3 жыл бұрын
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
@anantsingh5699
@anantsingh5699 3 жыл бұрын
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....
@harcharansingh1997
@harcharansingh1997 5 жыл бұрын
Sir I have a problem here how can we know that in this programe sum=sum×10+r
@jayhokte7234
@jayhokte7234 3 жыл бұрын
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.jamilkhan8326
@md.jamilkhan8326 6 жыл бұрын
Very nice explanation Sir😊😊😊😊
@muralisahu1909
@muralisahu1909 5 жыл бұрын
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
@ishanksuri
@ishanksuri 5 жыл бұрын
its possible.
@muralisahu1909
@muralisahu1909 5 жыл бұрын
@@ishanksuri how is it possible give me reply
@sukhenhalder4u
@sukhenhalder4u 2 жыл бұрын
You're great sir
@rgb8534
@rgb8534 3 жыл бұрын
DO we have to memorize the while loop?
@35.sonikumari
@35.sonikumari 3 жыл бұрын
Hloo sir I need a program on palindrome string ,, here I can understand ur way .. 🥺🥺so can yuh please understood me palindrome string please 🥺
@vittalpatroti9739
@vittalpatroti9739 5 жыл бұрын
hlo sir, ur explaination is understanding and good and plz make the videos on programes of diploma c language ........
@prathyusharaju7596
@prathyusharaju7596 5 жыл бұрын
Superb sir your are just awesome sir
@sanjaykhandelwal1612
@sanjaykhandelwal1612 2 жыл бұрын
Palindrome is a type of work which is same meaning for reading alphabet forward and backward
@binaryphil94
@binaryphil94 2 жыл бұрын
Very helpful
@AllinOne-kp8bp
@AllinOne-kp8bp 2 жыл бұрын
Clear explanation ❤️
@jstar2135
@jstar2135 2 жыл бұрын
Thank you sir.
@kaustubhlangade5420
@kaustubhlangade5420 5 жыл бұрын
The way of explanation is too good!!!!!
@hanadotexe
@hanadotexe 4 жыл бұрын
you are brilliant! thank you very much.
@vandamme5487
@vandamme5487 3 жыл бұрын
Sir you helped me alot🙏
@mayankraj9690
@mayankraj9690 4 жыл бұрын
Can we use for loop?
@nithinanto7107
@nithinanto7107 3 жыл бұрын
What is the use of, read n; statement
@EBKCS_KOMALSHARMA
@EBKCS_KOMALSHARMA 4 жыл бұрын
u r best sir
@abhignanrayaprolu6403
@abhignanrayaprolu6403 5 жыл бұрын
Srinivas sir meeru thopu sirr
@BrowseOnIncognito
@BrowseOnIncognito 5 жыл бұрын
Nice sir, can you made video for keyword or not.
@manibalan9633
@manibalan9633 7 жыл бұрын
Thank for given your knowledge sir
@meghnabiswas6666
@meghnabiswas6666 5 жыл бұрын
thanks a lot sir. its really helpful....
@trivokim8165
@trivokim8165 3 жыл бұрын
Would you mind giving your C programming list on KZbin? thanks so much.
@stacykeibler2680
@stacykeibler2680 5 жыл бұрын
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?
@shauryakajiwala8622
@shauryakajiwala8622 4 жыл бұрын
dontake int as datatype take long as datatype.It happens because int can not store that much amount of long value
@stacykeibler2680
@stacykeibler2680 4 жыл бұрын
@@shauryakajiwala8622 thanks!
@rasaznikachowdari0301
@rasaznikachowdari0301 4 жыл бұрын
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
@akankshasri2434
@akankshasri2434 4 жыл бұрын
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
@rparthibanfighter5899
@rparthibanfighter5899 3 жыл бұрын
Why u should use only 10 in reverse statement n in sum statements
@mathstitude3914
@mathstitude3914 4 жыл бұрын
nicely described #mathstitude #palindromenumber
@sailakshminasina7019
@sailakshminasina7019 5 жыл бұрын
Sir can you explain about , How to reverse and add a number until we get the palindrome number in c language ??
@manjulamanju9344
@manjulamanju9344 5 жыл бұрын
Very good
@anishpatel4446
@anishpatel4446 6 жыл бұрын
sir! i have been done good guide and working by this institute.......
@shashank_d_a
@shashank_d_a 3 жыл бұрын
Thanks sir....🙇
@udaypatel878
@udaypatel878 3 жыл бұрын
Sir u must deserve a 😘
@prathameshsarode8004
@prathameshsarode8004 3 жыл бұрын
Thank you so much sir❤
@shaikmehatab9918
@shaikmehatab9918 4 жыл бұрын
sir explain us some numbers programs like kaprekar number etc.,
@alokkumarnyati
@alokkumarnyati 3 жыл бұрын
thanks a lot.... it was easy😍
@tapanjeetroy8266
@tapanjeetroy8266 6 жыл бұрын
thanks a lot sir for your support...
@blaze9558
@blaze9558 3 жыл бұрын
Very helpful 🙂
@AnilSingh-pv3uu
@AnilSingh-pv3uu 6 жыл бұрын
excellent explained!!!!!!!!!! superb
Prime Number Program in C | C Language Tutorial
4:46
Naresh i Technologies
Рет қаралды 1 МЛН
C Array - Part 1 | C Language Tutorial
17:33
Naresh i Technologies
Рет қаралды 1,4 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 10 МЛН
Part 5. Roblox trend☠️
00:13
Kan Andrey
Рет қаралды 2,9 МЛН
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Special Programs in C − Check If The Number Is Palindrome Number
8:14
52 - PALINDROME (NUMERIC & STRING) - C PROGRAMMING
36:37
Sundeep Saradhi Kanthety
Рет қаралды 108 М.
Unions in C Language | C Language Tutorial
13:04
Naresh i Technologies
Рет қаралды 338 М.
Perfect Number in C | C Language Tutorial
14:29
Naresh i Technologies
Рет қаралды 331 М.
Recursion in C Functions | C Language Tutorial
14:33
Naresh i Technologies
Рет қаралды 827 М.
Special Programs in C− Check If The Number Is Armstrong Number
12:16
Learn C Language In 10 Minutes!! C Language Tutorial
10:36
AmanBytes
Рет қаралды 347 М.