w3ajay

tally tutorial point, ms word 2013, ms excel 2013, ms powerpoint 2010,ccc question with answer in hindi 2021, Tally Prime in hindi , tally prime,Python,in python,programming in python,python

Saturday, December 21, 2019

C Program to Reverse a Number


C program to reverse a number in c 




#include<stdio.h>

#include<conio.h>

void main()

{

int n,r ;

clrscr();

Printf(“ enter the any number for reverse  ”);

Scanf(“ %d ”, &n);

While(n!=0)

{

R= n%10;

Printf(“%d”,r);

N=n/10;

}

getch();

}


No comments:

Post a Comment

for more information please share like comment and subscribe