Answer Posted / vaibhav
#include <stdio.h>
#include<conio.h>
void main()
{
int n,t;
printf("\n enter the 2 digit no.");
scanf("%d",&n);
while(n%10>0)
{
t=n%10;
n=n/10;
printf("\n reverse no. is%d",t);
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What are the application of void data type in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
How can you find the exact size of a data type in c?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Is flag a keyword in c?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What is huge pointer in c?
What is the data segment that is followed by c?
What's the right way to use errno?
What standard functions are available to manipulate strings?
What does s c mean on snapchat?
What is file in c preprocessor?
Explain b+ tree?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?