Answer Posted / ashok
#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 ? | 21 Yes | 10 No |
Post New Answer View All Answers
How is pointer initialized in c?
What are qualifiers?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Explain the use of 'auto' keyword
Why is c called c?
Can we initialize extern variable in c?
What is the difference between array and pointer in c?
Differentiate between a structure and a union.
Explain what is the stack?
Write a program to find factorial of a number using recursive function.
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
a program that can input number of records and can view it again the record
swap 2 numbers without using third variable?
Explain the difference between the local variable and global variable in c?
How do I copy files?