Answer Posted / vaibhav
#include <stdio.h>
#include<conio.h>
void main()
{
int n,t;
printf("\n enter the 2 digit no.");
scanf("%d",&n);
while(n%10>0)
{
t=n%10;
n=n/10;
printf("\n reverse no. is%d",t);
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Write a program to swap two numbers without using third variable in c?
Write a program to find the biggest number of three numbers in c?
How the c program is executed?
Write programs for String Reversal & Palindrome check
What are the advantages of union?
Can include files be nested? How many levels deep can include files be nested?
What are the advantages of external class?
How can I implement sets or arrays of bits?
How does normalization of huge pointer works?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is the use of parallelize in spark?
Is return a keyword in c?
What are the different types of C instructions?
How can I insert or delete a line (or record) in the middle of a file?
Write a program to generate the Fibinocci Series