C Program to Reverse a Number and Check if it is a Palindrome

This is a C Program which reverses a number & checks if it is a palindrome or not. Problem Description This C program accepts an integer, reverse it and also checks if it is a palindrome or not. Problem Solution 1. Take the number which you have to reverse as the input. 2. Obtain its … Read more

advertisement

C program to Check Whether a Number is Positive or Negative

This is a C program to check whether a given integer is positive or negative. Problem Description The program takes the given integer and checks whether the integer is positive or negative. Problem Solution 1. Take the integer which you want to check as input. 2. Check if it is greater or lesser than zero … Read more

advertisement

C Program to Find the Sum of Even and Odd Numbers

This is a C program to find the sum of odd and even numbers from 1 to N. Problem Description The program takes the number N and finds the sum of odd and even numbers from 1 to N. Problem Solution 1. Take the number N upto which we have to find the sum as … Read more

advertisement

C Program to Reverse a Number

Reverse a Number in C means moving the digit at the last position to the first position and vice versa. For example, if the given number is “1234”, the reverse number will be “4321”. Methods for Reversing a Number in C There are several ways to reverse a number in C language. Let’s take a … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.