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


Please Help Members By Posting Answers For Below Questions

Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

635


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 ?

805


Explain how do you determine a file’s attributes?

596


What is the role of this pointer?

555


List some of the static data structures in C?

765






What is file in c preprocessor?

656


What is the code in while loop that returns the output of given code?

1334


What is difference between arrays and pointers?

584


What is #define?

578


plz let me know how to become a telecom protocol tester. thank you.

1745


Explain what is the heap?

626


Explain the process of converting a Tree into a Binary Tree.

2109


What does 4d mean in c?

951


What are the various types of control structures in programming?

631


Can true be a variable name in c?

561