n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
Answer Posted / vikesh
n=temp=762
the value of result depends on initial value of result
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
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 ?
Explain how do you determine a file’s attributes?
What is the role of this pointer?
List some of the static data structures in C?
What is file in c preprocessor?
What is the code in while loop that returns the output of given code?
What is difference between arrays and pointers?
What is #define?
plz let me know how to become a telecom protocol tester. thank you.
Explain what is the heap?
Explain the process of converting a Tree into a Binary Tree.
What does 4d mean in c?
What are the various types of control structures in programming?
Can true be a variable name in c?