n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
Answers were Sorted based on User's Feedback
Answer / vikesh
n=temp=762
the value of result depends on initial value of result
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / 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 |
Answer / bobby shankar
it will display something garbage
because value of result is not
initialised .
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / arif shaik
The variables n,tempand result what type data it may be?,It
first Displays an error "Statement missing ; in function
main". If it is rectified then the answer should depends on
data type of that variables and their initialized values.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vignesh1988i
assuming that the variables that are used above are integers....
the result will be : depends on the user....
| Is This Answer Correct ? | 0 Yes | 1 No |
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE
How to declare a variable?
hi any body pls give me company name interview conduct "c" language only
How to write a code for reverse of string without using string functions?
What is c variable?
what is ram?
How Many Header Files in c?
can i know the source code for reversing a linked list with out using a temporary variable?
Do you know what are bitwise shift operators in c programming?
how to write a c program to print list of fruits in alpabetical order?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above