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
How the c program is executed?
How can a program be made to print the name of a source file where an error occurs?
What is the difference between union and structure in c?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
What are register variables in c?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is data structure in c language?
Can a variable be both constant and volatile?
What is main () in c language?
What is wrong with this code?
What is scope rule of function in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the process to generate random numbers in c programming language?
How can I do peek and poke in c?
What is a nested loop?