WRITE A PROGRAM TO FIND A REVERSE OF TWO NO

Answer Posted / .::get lost::.

#include<stdio.h>
#include<conio.h>
void main();
int a;
clrscr();
float rem=0,rev=0;
while(rev>=0)
{
rem=a%10;
rev=rev+rem;
a=a/10;
}
printf(Reverse of two digit no is:=%d",rev);
getch();
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1455


Combinations of fibanocci prime series

1115


What are the properties of union in c?

591


List some applications of c programming language?

553


What standard functions are available to manipulate strings?

565






What are header files in c programming?

658


Explain what standard functions are available to manipulate strings?

613


what does static variable mean?

657


Why is #define used?

791


What is the use of typedef in c?

588


When can you use a pointer with a function?

571


Explain bitwise shift operators?

633


What are keywords c?

603


what is recursion in C

617


What is the use of header files?

607