MCQOPTIONS
Saved Bookmarks
| 1. |
In the following procedureInteger procedure P(X, Y);Integer X, Y;value x;begin K = 5; L = 8; P = x + y;endX is called by value and Y is called by name. If the procedure were invoked by the following program fragment K = 0; L = 0; Z = P(K,L);Then the value Z would be set equal to |
| A. | 5 |
| B. | 8 |
| C. | 13 |
| D. | 0 |
| Answer» C. 13 | |