U
Q. What is the output of this program?
#include using namespace std; long fact (long p) { if (p > 1) return (p * fact (p + 1)); else return (1); } int main () { long n = 6; cout << n << "! = " << fact ( n ); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Choose the correct subscript operator.
Q. The goto destination for the label is identified by __
Q. What does the 'static' keyword do when applied to a local variable inside a function?
Q. Which of the following functions are performed by a constructor?
Q. What do container adapter provide to interface?
Q. A language which has the capability to generate new data types are called
Q. Which of the following is correct about function overloading?
Q. Which interface in the container is required for storage management?
Q. The dot operator connects which of the following two entities?
Discusssion
Login to discuss.