how to find out the reverse number of a digit if it is
input through the keyboard?
Answer Posted / prince rafi
void main()
{
int num,m,temp=0;
clrscr();
printf("enter the value of num);
do
{
m=m%10;
temp=(temp*10)+m;
num=num/10;
}
while(num>0);
printf("%d",sum);
}
getch();
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a Program to find whether the given number or string is palindrome.
Why is c so popular?
What is I ++ in c programming?
What are header files in c programming?
Why array is used in c?
What are the functions to open and close the file in c language?
Explain how do you override a defined macro?
How are variables declared in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
I need previous papers of CSC.......plz help out by posting them.......
What does main () mean in c?
Why c is called a mid level programming language?
Why does this code crash?
what type of questions arrive in interview over c programming?