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
hi any body pls give me company name interview conduct "c" language only
Where we use clrscr in c?
When should you use a type cast?
How do you construct an increment statement or decrement statement in C?
What is the use of getchar() function?
What is dynamic memory allocation?
What are the features of c language?
What is the difference between text and binary i/o?
What is pass by value in c?
Why is c called c not d or e?
Can true be a variable name in c?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
How will you divide two numbers in a MACRO?