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 does static variable mean in c?
Does c have circular shift operators?
How do I convert a string to all upper or lower case?
What is structure data type in c?
Explain what are the different file extensions involved when programming in c?
What are register variables in c?
What is the use of printf() and scanf() functions?
What header files do I need in order to define the standard library functions I use?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Is c is a middle level language?
What is the use of volatile?
If fflush wont work, what can I use to flush input?
Explain what are global variables and explain how do you declare them?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?