HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT
IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
Answer Posted / yogita
#include<stdio.h>
void main()
{
int n;
printf("enter any number");
scanf("%d",&n);
while(n>0)
{
a=n%10;
n=n/10;
pritnf("%d",a);
}
getch();
}
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Where are the auto variables stored?
What is calloc in c?
What is the difference between pure virtual function and virtual function?
Why structure is used in c?
What tq means in chat?
What are logical errors and how does it differ from syntax errors?
How is a pointer variable declared?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Write a program to print "hello world" without using a semicolon?
What is the argument of a function in c?
Explain how do you list a file’s date and time?
Explain what is the difference between text files and binary files?
explain what is a newline escape sequence?
What are the advantages of union?