what are the advantage and disadvantage of recursion
Answer Posted / suman boddukuru
Advantage : Perform an action untill a condition
satisfies,Also for the repetative calls for inputting and
etc.
Disadvantage: If it encounters the infinite looping then
the stack overflow occurs it will cause ssem crash...
| Is This Answer Correct ? | 32 Yes | 8 No |
Post New Answer View All Answers
What are valid signatures for the Main function?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
How can you return multiple values from a function?
What are qualifiers?
What is openmp in c?
What language is lisp written in?
What is the newline escape sequence?
difference between native and cross compilers
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Difference between linking and loading?
What is function prototype in c language?
What is the general form of a C program?
How can you invoke another program from within a C program?
How do you view the path?