Palindrome
Lesson 12 of 20 in Coddy's Beginner Challenges - Practice Basic Concepts course.
Challenge
EasyA palindrome number is a number that is the same from left to right or right to left.
Examples: 12321, 5, 676.
Write a function named isPalindrome that gets an integer and returns true if the integer is a palindrome otherwise false.
Try it yourself
#include <stdbool.h>
bool isPalindrome(int num) {
// Write code here
}All lessons in Beginner Challenges - Practice Basic Concepts
Practice on your own: Online C compiler