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
What is the difference between new and malloc functions?
diff between exptected result and requirement?
Explain the difference between strcpy() and memcpy() function?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
Why isn't it being handled properly?
How to find a missed value, if you want to store 100 values in a 99 sized array?
Explain why c is faster than c++?
Explain high-order and low-order bytes.
What is %g in c?
what is recursion in C
Why c is faster than c++?
Define C in your own Language.
what type of questions arrive in interview over c programming?
Explain do array subscripts always start with zero?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer