C Basics

Add to Favourites
Post to:

#includeint main(){ long num,sum=0,r,s; //Accepting the number from users printf("Enter any integer number : "); scanf("%ld",&num); //Reversing the number while(num != 0){ r=num%10; //finding reminder sum=sum*10+r; num=num/10; } //printing the number in reverse format printf("Number in reverse order : %ld",sum); return 0;}

Description
this is the program for reversing no
coded in c language.

Comments
Minu
By: Minu
306 days 19 hours 23 minutes ago

whats tis is it a tutorial?!!!!!!!!!!!!!!!!!!

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
1 Member Recommends
11 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect