n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
Answer Posted / naresh lingampally
cool!!! ignoring the syntax errors;
n=7623
n/10== 762
result=>762*10+*;
this means that the result itself should be initialized to
'0' so that there would a right output..
So output will be garbage value ...
to my knowledge
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what does static variable mean?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
How to write c functions that modify head pointer of a linked list?
How do you define structure?
What is the difference between union and anonymous union?
Are the variables argc and argv are local to main?
Is c still used?
Explain high-order and low-order bytes.
How to define structures? ·
What is the advantage of using #define to declare a constant?
How do you search data in a data file using random access method?
what are # pragma staments?
Should a function contain a return statement if it does not return a value?
What is the difference between c and python?
How do we open a binary file in Read/Write mode in C?