No video

Palindrome program in C | Check if number or string is Palindrome | #9 Coding Bytes

  Рет қаралды 112,338

FACE Prep

FACE Prep

Күн бұрын

In today's video, we will discuss how to check if a given number or a string is a palindrome or not. If you want to know the detailed solution of the discussed programs in C, C++, Java or Python, then refer the below links.
Program to check if a given number is a palindrome - bit.ly/2NCBHZ0
Program to check if a given string is a palindrome - bit.ly/2p8LjkX
For aptitude and programming preparation resources, recruitment drive updates, interview tips & tricks, come join the largest learners' community on Telegram and WhatsApp and take your placement preparation to the next level.
Join here:
Telegram: t.me/faceprepo...
WhatsApp: bit.ly/2MgoYMR

Пікірлер: 60
@alekyareddy4086
@alekyareddy4086 2 жыл бұрын
Can we use string reverse function to check whether it is palindrome or not
@bhuvan6926
@bhuvan6926 2 жыл бұрын
Can you please write that code ..what you have assumed??....
@vishnumaragani
@vishnumaragani 2 жыл бұрын
Short and sweet logic explanation
@isikamaiti9116
@isikamaiti9116 2 жыл бұрын
Ma'am ,if we consider a string like "moram". So then,we should not give break in this position.Because if(m!=m), condition false ,and then break statement help to terminate the loop ,and print both are same string.
@bhuvan6926
@bhuvan6926 2 жыл бұрын
Thank you FACE PREP♥️♥️
@Sj_54321
@Sj_54321 4 жыл бұрын
Your classes are very useful... 😇
@bedantasahoo1702
@bedantasahoo1702 2 жыл бұрын
Thanks for the explanation ☺️it's very useful
@am_ayaan_5379
@am_ayaan_5379 2 жыл бұрын
Logic is very good thanks
@jahirulislam6223
@jahirulislam6223 3 жыл бұрын
I think this video will help at least little bit to those who will watch
@jahirulislam6223
@jahirulislam6223 3 жыл бұрын
Your teaching technique is very good and voice as well
@mdfaizanalam_
@mdfaizanalam_ 3 жыл бұрын
Thanks for explaining the logic
@chikkamsrinivas6118
@chikkamsrinivas6118 2 жыл бұрын
Thank u so much madam
@ritiks.hujwant3816
@ritiks.hujwant3816 3 жыл бұрын
Thank you for such a great explanation 💫🤩🥰
@niranjanbistgamail.com305
@niranjanbistgamail.com305 2 жыл бұрын
Thanks for the great explanation
@farhanaahmmed4832
@farhanaahmmed4832 3 жыл бұрын
Your Explanation is really awesome...
@adityakocharla
@adityakocharla 3 жыл бұрын
Tq so much this video 📷📷📷 helped me a lot to understand the concept
@flyingbomber
@flyingbomber 4 жыл бұрын
Thanks mam
@pragyasharmar2104
@pragyasharmar2104 4 жыл бұрын
Had a great session
@erenoriginal
@erenoriginal Жыл бұрын
what is the for loop for given number is palidrome or not
@ajajhusainofficial
@ajajhusainofficial Жыл бұрын
your logic is very simple . Thank you mam
@ramakrishnanv3793
@ramakrishnanv3793 3 жыл бұрын
THANK YOU SO MUCH, MAM... I HAVE A DOUBT IN THAT CONCEPT AND NOW YOU CLEARED THAT MAM
@purveshpangudwale5083
@purveshpangudwale5083 4 жыл бұрын
What happen if the character is palindrome then also it will break out from for loop in 1st iteration only
@1prdas1
@1prdas1 3 жыл бұрын
If the first condition is true than it will loop through all until condition is false. But if the first or any next iteration is false it will break from loop before completion and give output as non palindrome.
@thulisisizwemagagula
@thulisisizwemagagula 4 жыл бұрын
Thank you So much
@md.parvej9493
@md.parvej9493 4 жыл бұрын
Awesome class.
@Manu_V_M
@Manu_V_M 4 жыл бұрын
Thank you so much❤️👍
@user-ol8xl2ss4w
@user-ol8xl2ss4w 3 жыл бұрын
Could u please give me the program to check wether the words in a given sentence are palindrome.if not reverse the word.print the new sentence right now ples? Fast.
@gowthamb12a68
@gowthamb12a68 Жыл бұрын
Mam how to use pointers in palindrome
@ajithakhil7079
@ajithakhil7079 2 жыл бұрын
your string palindrome logic is not complete. for(i=0;i
@mhdsadiqp4756
@mhdsadiqp4756 Жыл бұрын
Please provide full of the program 🙏
@wladekarek
@wladekarek 9 ай бұрын
actually there is no point in checking entire length of the string, half of it will do, it is c# but you all will get it :) static bool IsPalindrome(string text){ int len = text.Length; int halfLen = len /2; len -= 1; for(int i = 0; i < halfLen; i++){ if(text[i] != text[len - i]) return false; } return true; }
@krishnachhabra77
@krishnachhabra77 4 жыл бұрын
Explaning skill 👌
@RisingIndiabyRSK
@RisingIndiabyRSK 4 жыл бұрын
Awesome video
@Sagarmore17
@Sagarmore17 4 жыл бұрын
Good work mam
@nsunandha3031
@nsunandha3031 Жыл бұрын
In this program what is the use of flag madem why you write flag Flag means madem explain mam
@rajilakshmi9081
@rajilakshmi9081 4 жыл бұрын
Awesome ya!!!
@shubham-sale
@shubham-sale 4 жыл бұрын
Nice explanation
@shubham-sale
@shubham-sale 4 жыл бұрын
Want to see more
@balarajumbbalarajumb8910
@balarajumbbalarajumb8910 3 жыл бұрын
ALP to Check string is palindrome or not in ARM 7 Program one program send madi
@solowalker2548
@solowalker2548 10 ай бұрын
After breaking the while loop ,The value of n would be zero
@jeevansmith
@jeevansmith 3 жыл бұрын
🔥🔥
@saibashanoorbasha2962
@saibashanoorbasha2962 3 жыл бұрын
But I want in python not in C😢😢. Anyway you r looking gorgeous😍😍
@suriyaprakash5172
@suriyaprakash5172 3 жыл бұрын
If u know Concept, write any programming language it's simple.
@saibashanoorbasha2962
@saibashanoorbasha2962 3 жыл бұрын
@@suriyaprakash5172 If I know Why would I prefer to your videos bro
@lalayadav-n3e
@lalayadav-n3e 2 жыл бұрын
why we use flag can anyone explain
@SudyaCreator
@SudyaCreator 2 жыл бұрын
mam so cute ❤
@suchanaghosh7943
@suchanaghosh7943 Жыл бұрын
input:noon5 output:noon is palindrome. pls slove this.
@ss.b.s3170
@ss.b.s3170 3 жыл бұрын
U had not initialize the rem in program
@FACEPrep
@FACEPrep 3 жыл бұрын
It's just a pseudo code buddy. But yeah you are right it has to be initialized.
@geniusboys8204
@geniusboys8204 4 жыл бұрын
I think you are wrong, break should be inside if loop
@purveshpangudwale5083
@purveshpangudwale5083 4 жыл бұрын
Ya I also think so
@muchukotasrikanth9938
@muchukotasrikanth9938 3 жыл бұрын
You are right!
@pranavjoshi9234
@pranavjoshi9234 3 жыл бұрын
Easiest way to understand palindrome program int main(void) { int a,b,c,d,e,f; printf("Please Enter a 5 digit number: "); scanf("%d",&a); b=a/10000; c=a/1000; d=c%10; e=a%10; f=a%100/10; if(b==e && d==f) { printf("Your number is \"palindrome\" = %d ",a); } else { printf("Your number is \"NOT\" palindrome-%d ",a); } printf("Thank you!"); return 0; }
@balarajumbbalarajumb8910
@balarajumbbalarajumb8910 3 жыл бұрын
Plz send me mam
@mr__rishi.1157
@mr__rishi.1157 3 жыл бұрын
❤❤❤
@FACEPrep
@FACEPrep 3 жыл бұрын
We love you too.
@pranavsharma4714
@pranavsharma4714 4 жыл бұрын
You need to practice a lot how to explain things
@thasthakir3125
@thasthakir3125 3 жыл бұрын
You need to Practice a lot how to understand things.
@thamburemash8030
@thamburemash8030 3 жыл бұрын
are you single...?
52 - PALINDROME (NUMERIC & STRING) - C PROGRAMMING
36:37
Sundeep Saradhi Kanthety
Рет қаралды 108 М.
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 651 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 87 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 54 МЛН
Check If A String Is A Palindrome | C Programming Example
10:56
Portfolio Courses
Рет қаралды 37 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Google India Engineers in a Mock Coding Interview
15:29
Life at Google
Рет қаралды 177 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 832 М.
How to: Work at Google - Example Coding/Engineering Interview
24:02
Life at Google
Рет қаралды 7 МЛН
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
basics of CODING in 10 minutes
15:34
The StudyTube Project
Рет қаралды 1,5 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 11 МЛН