subject

What is the output of the following program fragment:
void find(int a, int& b, int& c)
{
int temp;
c = a + b;
temp = a;
a = b;
b = 2 * temp;
}
int main()
{
int x, y, z;
x = 10;
y = 20;
z = 25;
find(x, y, z);
cout< < x < < " "< < y < < " "< < z <
return 0;
}
output:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 23.06.2019 21:40
language consists of basic components, and they are called a. 3; mental images, concepts, and speech b. 2; language acquisition and linguistic relativity c. 3; heuristics, algorithms, and analogies d. 4; phonemes, morphemes, syntax, and semantics e. 2; words and grammar
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
Answers: 1
You know the right answer?
What is the output of the following program fragment:
void find(int a, int& b, int&...
Questions
question
Mathematics, 14.12.2020 19:20
question
Mathematics, 14.12.2020 19:20
question
Spanish, 14.12.2020 19:20
question
Mathematics, 14.12.2020 19:20
question
Mathematics, 14.12.2020 19:20
Questions on the website: 13722363