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
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is void pointers in c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Explain the use of fflush() function?
What is variable initialization and why is it important?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Explain how can you tell whether two strings are the same?
How can I discover how many arguments a function was actually called with?
what is a constant pointer in C
What is meant by realloc()?
Explain what is the difference between #include and #include 'file' ?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
What is data structure in c language?
What is string function c?