 Hello friends, I am Sanjay Gupta. In this video I am going to demonstrate you how you can print those numbers which are palindrome and available in array. Before starting, you can note my information, you can follow or subscribe my YouTube channel through the URL youtube.com slash sanjaygupta underscore tax school. You can download my programming app, TechMS, which is available on Google Play. Now coming on to the topic for printing the numbers which are palindrome and available in array. I have implemented this code here inside main function. I have declared various variables including array. Then printf will print the message enter elements on console. Then with the help of follow and scaref, I'm going to receive all those elements which are entered by the user and those elements will be stored inside a array. Then again I have implemented for loop. Here for loop is initialized with zero and it will repeat 10 times. So AO5, which is the first element A0 will be assigned into N. Then as is initialized with zero. Then while loop is available here, which is calculating reverse of the number. So N is available here. This loop is dependent upon the value of N. If it is greater than zero, then this while loop will repeat. Otherwise it will be terminated and it is calculating reverse and the reverse will be assigned into S variable. After calculation, I just have to check S with AO5. I can't use N here because after completion of while loop value of N will be zero. So I am directly using value of AI. If AI is equals to S, then you can say that number is palindrome because S is containing reverse and AO5 is containing the original number. If both the numbers are same, then you can print AO5 on console. So I am printing person D is palindrome and I am printing AO5. So you can see if S is equals to AO5 then only AO5 will be printed on console. I have to use person D instead of person S. By mistake I have used person S. So this way the complete code is implemented in front of you, which will reverse a particular element. Then it will check whether the reverse is equivalent to original value or not. If it is equals to original value, then only the number will be palindrome and it will be displayed on console. Now I am executing this code. It is asking for elements. So I am entering numbers here. Some numbers will be palindrome and some will not be. You can see the output. Only four numbers are palindrome, which are 545 because 545 reverse is also 545. Then 676, 232 and 1221. All these four numbers are palindrome and remaining numbers are not palindrome. As you can see 1, 2, 3, 3, 4, 2, the reverse of these numbers are different. So this way I have identified the numbers which are palindrome and available in array. I hope you have understood this concept well that how you can identify which numbers are palindrome and which are not and with the help of array. So array can contain multiple elements. You can identify any number of elements which are palindrome and remaining numbers which are not palindrome. So you can print both the list separately. I have just printed the numbers which are palindrome. If you want to watch more programming related videos, you can follow or subscribe my YouTube channel through the URL youtube.com. You can download my programming app that is TechMS which is available on Google Play. So keep connected with me, learn programming, watch more and more programming related videos. Thank you for watching this video.