n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}

Answer Posted / shruti

the answer depends upon, to what value result is
initialised..

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3343


What are conditional operators in C?

630


What is an endless loop?

806


Why isn't any of this standardized in c? Any real program has to do some of these things.

630


Is it possible to pass an entire structure to functions?

563






What is the difference between exit() and _exit() function?

610


What are the types of variables in c?

582


write a c program to find the sum of five entered numbers using an array named number

1622


When should a far pointer be used?

607


What is pointers in c with example?

585


What are the 5 data types?

607


What are the different types of control structures?

590


What is binary tree in c?

626


Here is a good puzzle: how do you write a program which produces its own source code as output?

602


Write a program of prime number using recursion.

623