to find out the reverse digit of a given number
Answer Posted / vaibhav
#include<stdio.h>
#include<conio.h>
void main()
{
int no, t;
clrscr();
printf("\nenter the no.");
scanf("%d",&no);
while(no!=0)
{
t=no%10;
no=no/10;
printf("%d",t);
}
getch();
}
| Is This Answer Correct ? | 23 Yes | 9 No |
Post New Answer View All Answers
What does %c mean in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
What is the difference between volatile and const volatile?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
When should the volatile modifier be used?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Explain what are the different file extensions involved when programming in c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
Explain the difference between ++u and u++?
What is size of union in c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Is printf a keyword?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....