×

Learn basic concept of c , c++ and python programming in regularcodes.com

# Program to reverse a number in c

Write an efficient algorithm to Reverse a given integer number. Note that it's possible the given integer value are negative and positive.

For example.

Program to reverse a number in c without using loop. Time complexity O(n).

**Output**

View process.

Submit your solution in comment section.

#### Recommended Posts:

- Dynamic allocation of array in c
- C program to count frequency of each element in an array
- Print corner nodes of each level in binary tree
- Sum of left leaf nodes in binary tree using recursion
- Sum of all leaf nodes of binary tree
- Binary search tree count sum of node
- Program to print hollow left arrow pattern
- Print fibonacci of given n number

View comments and participate Discussion