Answer Posted / glibwaresoftsolutions
A function that calls itself in response to a terminating condition is said to be recursive.
Because it employs LIFO, the stack data structure is used.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
Can a function take variable length arguments, if yes, how?
Is eclipse good for c++?
Can we use this pointer inside static member function?
Can we make any program in c++ without using any header file and what is the shortest program in c++.
Write a program to show polymorphism in C++?
What is string in c++ programming?
how to connect with oracle 9i with server in socket program in c/c++
Can a new be used in place of old mallocq? If yes, why?
Does improper inheritance have a potential to wreck a project?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
explain the reference variable in c++?
What are namespaces in c++?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
Explain terminate() function?