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
Compare and contrast compilers from interpreters.
Are comments included during the compilation stage and placed in the EXE file as well?
Why c is procedure oriented?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What are the different data types in C?
Is array name a pointer?
What is derived datatype in c?
What is the difference between Printf(..) and sprint(...) ?
How do you declare a variable that will hold string values?
Is r written in c?
Why main is not a keyword in c?
How can I write a function analogous to scanf?
What happens if a header file is included twice?