Answer:
double half (double number) //to pass by reference is not important here
{
double half; //number again should not be declared here
half = number / 2;
return half;
}
int main()
{
cout<<half(50);
}
Output :
25
Explanation:
As not mentioned in the question, any data type could have been used like int , float or double. Method half() takes a double variable as parameter which is passed as value as we don't need to make the change at the same address we need value of that argument only. A variable half of double type is declared which will hold the half value. Number is not required to declared again here as it is passed by argument. Then the number is divided by 2 and half is returned.
Answer: A Modem
Explanation: A modem is a hardware device that converts data into a format that is suitable for transmission.
It can convert digital signals to analog signals if required.
Actually NET ID or Network identifier and ip addresses are both linked to each other. There is no way to get an NET id without an IP address. You can get your NET id on ip calculating websites, by posting your IP address and letting them determine what NET id you have.
Formal parameter or actual parameter i think
Answer:
Following are the steps which are mention in the explanation part,jawana can recover her deleted paper.
Explanation:
- With the help of the recycle bin Jawana can make the recovery her deleted paper.
she should follow the following steps in the recycle bin
Step 1 : Open the recycle bin
Step 2: Double click on the paper which is deleted.
Step 3::Finally click on the restore button the deleted paper is automatically stored in that folder
- Jawana can recover her paper by the help of redo.Redo can automatically store her deleted file
Step 1 : Open the Documents folder
Step 2:right click on the deleted file which is deleted
Step 3: Press ctrl+y. its automatically store the deleted paper in that folder