×

C Programs

C Basic & Conditional Programs

C Looping Programs

C String Programs

C Miscellaneous Programs

Digits Manipulation (Number Manipulation) C Programs / Examples

This section contains programs on Digits (Number) Manipulation like Reverse of a Number, Check Palindrome Number, Check Prime Number, Check Armstrong Number, Check Perfect Square Number, Count total digits in a Number etc.

C Digits Manipulation Programs

These programs show manipulation on digits, here we will extract digits from the number and perform necessary action of it. Here we used looping especially while loop to solve the number related problems. These programs are very important according for interviews.

List of Digits Manipulation Programs in C

  1. C Program to reverse a number (for example: input: 1234, output: 4321)
  2. C Program to calculate SUM & PRODUCT of all digits
  3. C Program to check number is prime or not
  4. C Program to check number is palindrome or not
  5. C Program to check number is Armstrong or not
  6. C Program to count digits in a numbers
  7. C Program to print occurrence of a particular digit in a number
  8. C Program to check number is perfect or not
  9. C Program to check number is power of 2 or not
  10. C Program to check number is perfect square or not

Comments and Discussions!

Load comments ↻





Copyright © 2024 www.includehelp.com. All rights reserved.