Home
Sitemap
Comment policy
TIPSZON - Tips For Career
Home
Computer Science
Placement Guidance
GATE-CSE
Amazon-CSA
Privacy Policy
Disclaimer
Terms and Condition
About
Home
Technology
C Program to reverse an integer number
C Program to reverse an integer number
by
Shivam verma
May 20, 2021
#include<stdio.h>
int main()
{
int n;
int reverse = 0;
int rem;
printf("Enter a number: \n");
scanf("%d", &n);
while(n!=0)
{
rem = n%10;
reverse = reverse*10+rem;
n /= 10;
}
printf("Reversed Number: %d\n",reverse);
return 0;
}
Post a Comment
0 Comments
Social Plugin
Categories
AI
2
Amazon Cloud Support Associate
7
Android
4
AWS
4
AWS Interview
2
Blogging
9
Blogging Hindi
15
Blogspot
8
C-Programs
11
ChatGPT
3
Cloud Computing
5
Communication
18
computer basics
5
Computer science
40
Computer tricks
7
Courses
2
Data structures
1
Discipline
1
English Speaking
18
Fresher
6
GATE
3
GATE-Computer Networks
1
How to
16
HR Interview
10
Job Interview
11
Job Preparation - BA & BSc
2
Job Preparation - NonTechnical Students
1
Jobs
13
Life tips
32
Mindset
9
Motivation
24
Personality development
37
Placement Guidance
9
Procrastination
2
Programming
19
Python Programming
4
Python Programs
1
Python-NumPy
2
Quotes
8
Quotes Explanation
7
Resolution
2
Self Introduction
1
Social Media
2
STAR Method
1
Study Material
3
Study tips
21
Technology
39
Time
3
Time Management
2
Web Development
4
What IS
12
Work From Home
1
0 Comments
If you have any doubts, Please let me know