how to find out the reverse number of a digit if it is
input through the keyboard?
Answer Posted / amrit
int main()
{
int a = 5678;
int temp=0,rev;
while((a%10)!=0)
{
rev =a%10;
a=a/10;
temp= temp*10+ rev;
}
return 0;
}
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
which is an algorithm for sorting in a growing Lexicographic order
how we can make 3d venturing graphics on outer interface
Why is event driven programming or procedural programming, better within specific scenario?
Explain enumerated types.
Not all reserved words are written in lowercase. TRUE or FALSE?
How many levels of pointers can you have?
explain what are actual arguments?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
In c programming language, how many parameters can be passed to a function ?
What tq means in chat?
What is scope rule of function in c?
what is recursion in C
What does static variable mean in c?