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:
all of the above.
Explanation:
Your digital footprint is a sum total of the digital activity carried out by you while online. This generates a lot of data about you and is potentially permanent. Once generated it is very difficult to alter it and you are not in control of the data that has been generated. The digital footprint can be used to profile your behavior and has privacy related implications. So it is very important to be conscious of your digital footprint while working online.
Answer:
D. The oldest and perhaps best-known system building tool is "Ant", which was originally developed in the 1970s for Unix.
Explanation:
Ant often referred to Apache Ant is a computer software tool, though popularly considered oldest, was originally first built in the year 2000 by Unix, on Java platform, which is utilized as a component of plug-in development.
Hence, given the available options, the correct answer is Option D, because, Ant originally built in the year 2000 and not the year 1970, while the other statements are definitely correct.
Answer:
Yes
Explanation:
Being online is a different world... They are communist in real life.