adspace
write a program to display reverse of a number using for
loop?
Answer Posted / rakesh ranjan
#include<conio.h>
#include<stdio.h>
main()
{
int x,n,i;
printf("entre the number");
scanf("%d",&n);
for(;n>0;)
{
x=n%10;
printf("%d",x);
n/=10;
}
getch();
}
| Is This Answer Correct ? | 15 Yes | 9 No |
Post New Answer View All Answers
write a progrmm in c language take user interface generate table using for loop?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
write a program to find out prime number using sieve case?
What are compound statements?
will u please send me the placement papers to my mail???????????????????
How can I implement sets or arrays of bits?
What is the difference between union and anonymous union?
Explain the difference between null pointer and void pointer.
What is variable initialization and why is it important?
What is pointers in c with example?
develop algorithms to add polynomials (i) in one variable
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
ATM machine and railway reservation class/object diagram
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?