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
What is typedef struct in c?
Explain 'far' and 'near' pointers in c.
Explain function?
What is a newline escape sequence?
What is the use of linkage in c language?
What is difference between array and pointer in c?
Explain what is a pragma?
Which type of language is c?
What is pass by reference in c?
What is the use of f in c?
What is main return c?
What is indirection in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What are conditional operators in C?