Answer Posted / nipa
loop is faster then recursion. because in recursion several
time function call itself, so it take time to pass control
to function and return value, but in loop control not pass
in other function it work in same function.here we consider
that function and loop contain same number of statement.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
How do you search data in a data file using random access method?
What language is windows 1.0 written?
What is an lvalue in c?
Is c pass by value or reference?
What does s c mean in text?
What is the difference between arrays and pointers?
Is there any demerits of using pointer?
Explain what is a pragma?
Write a program to print fibonacci series without using recursion?
Why functions are used in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is page thrashing?
What is file in c language?