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
Can a file other than a .h file be included with #include?
What are different types of operators?
What is the difference between struct and typedef struct in c?
What is dynamic variable in c?
Can i use “int” data type to store the value 32768? Why?
How do you declare a variable that will hold string values?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Explain how do you list a file’s date and time?
What is a void pointer in c?
Can you think of a logic behind the game minesweeper.
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What are pointers? Why are they used?
Explain how do you search data in a data file using random access method?
What do you know about the use of bit field?
How can I write a function that takes a format string and a variable number of arguments?