Techpalace

Ultimate destination for teech tips,blogging ,seo,internet

Menu

  • Home

C program to reverse a number


#include <stdio.h>

int main()
{
   int n, reverse = 0;

   printf("Enter a number to reverse\n");
   scanf("%d",&n);

   while (n != 0)
   {
      reverse = reverse * 10;
      reverse = reverse + n%10;
      n = n/10;
   }

   printf("Reverse of entered number is = %d\n", reverse);

   return 0;
}
Email ThisBlogThis!Share to XShare to Facebook
Posted in c programms on 12:07 PM by thedev27 |  
Newer Post Older Post Home
Powered by Blogger.

Popular Posts

  • Cirque du Soleil is dancing with drones
    AppId is over the quota AppId is over the quota g one-button ordering devices for your smart home 7:40 AM Samsung Gear S smartwatch com...
  • ​Apple, AmEx teaming on iPhone 6 payments system, report says
    "http://cnet4.cbsistatic.com/hub/i/r/2014/01/23/7d110d58-83f0-11e3-86d7-14feb5ca9861/resize/370xauto/2f160031a46d1233681daa7d2d98f668/s...
  • write a C program to print diamond pattern
    *  *** *****  ***   * #include <stdio.h> int main() {   int n, c, k, space = 1;   printf("Enter...
  • How To Create a SSL Certificate on Nginx for Ubuntu 14.04
    f you just want the Nginx web server, you can instead just type: sudo apt-get update sudo apt-get install nginx Step One — Create the...
  • How To Use BitTorrent Sync to Synchronize Directories in Ubuntu 14.04
    Install BitTorrent Sync The first step that we need to get started is to install the BitTorrent Sync software on both of our server inst...
  • The Big Future: Can we bring animals back from extinction?
    AppId is over the quota AppId is over the quota g"> HTC is lost, and this blind camera isn't helping 9:48 AM Microsoft says...
  • How To Create a SSL Certificate on Apache for Ubuntu 14.04
    You are also going to need to have Apache installed. If you don't already have that up and running, you can quickly fix that by typing...
  • Reliance JIOFI 3 - A data saver and life saver often to some people
    Reliance jio offer will be end soon on march1 but , here is some review of JIOFI  hostspot you must know about this ..people who are willin...
  • TOP TORRENT LEECHING SITES
    ================TORRENT LEECH====================== TORRENT SMOKERS HERE IS THE SOLUTIONS NOT TO BE WAITING FOR DOWNLOADINGTORREN...
  • How To Use npm to Build and Publish Node.js Packages on a Linux Server
    Listing the Current Configuration Settings First, let's see what our current settings are. We can do this by typing: npm config ls ...

Pages

  • Home
  • Seo
  • C programms
  • airtel
  • How to tutorial
  • Cracked softwares

Popular Posts

  • Cirque du Soleil is dancing with drones
    AppId is over the quota AppId is over the quota g one-button ordering devices for your smart home 7:40 AM Samsung Gear S smartwatch com...
  • ​Apple, AmEx teaming on iPhone 6 payments system, report says
    "http://cnet4.cbsistatic.com/hub/i/r/2014/01/23/7d110d58-83f0-11e3-86d7-14feb5ca9861/resize/370xauto/2f160031a46d1233681daa7d2d98f668/s...
  • write a C program to print diamond pattern
    *  *** *****  ***   * #include <stdio.h> int main() {   int n, c, k, space = 1;   printf("Enter...
  • How To Create a SSL Certificate on Nginx for Ubuntu 14.04
    f you just want the Nginx web server, you can instead just type: sudo apt-get update sudo apt-get install nginx Step One — Create the...
  • How To Use BitTorrent Sync to Synchronize Directories in Ubuntu 14.04
    Install BitTorrent Sync The first step that we need to get started is to install the BitTorrent Sync software on both of our server inst...
  • The Big Future: Can we bring animals back from extinction?
    AppId is over the quota AppId is over the quota g"> HTC is lost, and this blind camera isn't helping 9:48 AM Microsoft says...
  • How To Create a SSL Certificate on Apache for Ubuntu 14.04
    You are also going to need to have Apache installed. If you don't already have that up and running, you can quickly fix that by typing...
  • Reliance JIOFI 3 - A data saver and life saver often to some people
    Reliance jio offer will be end soon on march1 but , here is some review of JIOFI  hostspot you must know about this ..people who are willin...
  • TOP TORRENT LEECHING SITES
    ================TORRENT LEECH====================== TORRENT SMOKERS HERE IS THE SOLUTIONS NOT TO BE WAITING FOR DOWNLOADINGTORREN...
  • How To Use npm to Build and Publish Node.js Packages on a Linux Server
    Listing the Current Configuration Settings First, let's see what our current settings are. We can do this by typing: npm config ls ...
Copyright © Techpalace | Powered by Blogger
Design by Theme Weaver | Blogger Theme by Lasantha - PremiumBloggerTemplates.com
tap