Answer:
The outputs of the code is
2
0
2
Explanation:
First, I'll arrange the code line by line. While arranging the code, I'll make some corrections
#include <iostream>
using namespace std;
void doSomething();
int main(){
int x = 2;
cout << x <<endl;
doSomething(x);
cout << x << endl;
return 0;
}
void doSomething(int &num)
{
num = 0;
cout << num << endl;
}
At line 6, the value of x which is 2 is printed and the line is terminated to prevent printing of value on the same line. So, the next print statement will start on the next line.
At line 7, the function doSomething () is called.
This statement will execute the instructions in the doSomething () function and print value 0. This line is also terminated.
At line 8, the value of x is printed which is also 2
Answer:
true
Explanation:
The given statement is true.
Explanation:
IP address is really tough to remember by each and everyone, and even if you misspell one number, then the navigation will not go for the desired website. It is equivalent to remember phone numbers during the earlier days. As said the domain name has 4 parts.
They are,
Go and use Eclipse or IntelliJ - it is free to use but much better and more stable.
He can sit in a comfortable chair and put the computer on his lap.
He can sit on the bed and put the computer on a nearby nightstand.
He can put his computer on a desk and sit in a comfortable chair.
Alexander complains of a sore neck. He can put his computer on a desk and sit in a comfortable chair. The correct option is D.
Long hours of sitting have been associated with several health issues, according to research. They include obesity and metabolic syndrome, a group of ailments marked by elevated blood pressure, excessive blood sugar, extra body fat around the waist, and dangerous cholesterol levels.
In particular in the lower back, "the mechanics of sitting increases muscle stiffness and pressure on the discs of the spine." "Slouching can put the spine's ligaments under undue strain, which can result in aberrant forces being applied to the lumbar joints and discs, creating pain.
Therefore, the correct option is D, He can put his computer on a desk and sit in a comfortable chair.
To learn more about health problems, refer to the link:
#SPJ6
Answer:
ITS D
Explanation: