subject

For the program below show the output. (print(n) will print the value of n. assume multiple prints will be on the same line } assume static scoping program ex1; int i; // global int a[3]; // global - array starts at 1 procedure p1( int x, int y) begin y : = 2; print(x); // < - this is where something is output i : = 3; print(x); // < - this is where something is output i : = 3; print(x); // < - this is where something is output print(y) // < - this is where something is output end; begin //main a[1]: = 7; a[2]: = 13; a[3]: = 11; i : = 1; p1(a[i], i); // first call p1(i, a[i]); // second call end. first call second call a) x is passed by value and y is passed by value. | b) x is passed by value and y is passed by name. | c) x is passed by name and y is passed by value. | d) x is passed by name and y is passed by name. |

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
The isometric projection camera technique provides an illusion of perspective by using things like parallax scrolling to create the illusion of 3d in a 2d game
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Does read theory have answers keys ?
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 − x3 + 3x4 − x5 = 6 x1 − 3x2 + x3 + 2x4 − x5 = −6 2x1 + x2 + x3 − 3x4 + x5 = 3 x1 − x2 + 2x3 + x4 − x5 = −3 2x1 + x2 − x3 + 2x4 + x5 = 5
Answers: 3
You know the right answer?
For the program below show the output. (print(n) will print the value of n. assume multiple prints w...
Questions
question
Chemistry, 13.07.2019 15:40
question
Social Studies, 13.07.2019 15:40
Questions on the website: 13722362