Answer:
long fact(int n)
{
if(n<=1)//base case
return 1;
long p=fact(n-1);//recursive call.
return n*p;//returning the factorial.
}
Explanation:
Above written function is written in C++ language.It is a recursive function to find the factorial of the function.
If we enter a number equal to or less than 1 then the function returns 1. Then the recursive call is made and it is stored in the long variable p and the result is returned as n*p.
Answer:
TRUE
Explanation:
Negotiation may be defined as the process or a method with the help of which people try to settle their differences or they try to come to a conclusion in a matter of differences. Here an agreement or a compromise is reached without any dispute and arguments. It is a skill.
It involves preparing for the negotiation with other person, understanding and knowing when one needs to walk out of the negotiation process to avoid arguments and working towards the common goal of achieving an agreement.
Therefore, the answer is true.
a fundamental domain or fundamental region is a subset of the space which contains exactly one point from each of these orbits . It serves as a geometric realisation for the abstract set of representatives of the orbits . There are many ways to choose a fundamental domain .
hope this help
Answer:
<exception> header provides functions for exception handling in c++.
Explanation:
Exceptions gives a way to respond to exceptional conditions (like runtime errors) in codes by transferring the control to other special functions called handlers.
Since try,catch and throw can work in the iostream header file.To use more functions like unexpected,current_exception,rethrow_exception we need exception header file.
Answer:
Identity Theft
Explanation:
Identity theft is the act of someone who obtains details about someone else illegally. This is done to find personal and financial information such name, address,social security number, passwords, and credit card number, phone number, e-mail, etc. Then the hacker can use this information to control bank accounts, e-mails, computers, portray himself as you are, or sell information to someone else.