Discussion
A call to a procedure with 4 arguments is translated using one parameter instruction per argument plus the call itself. How many instructions result, ignoring argument evaluation?
Answer: B
One parameter instruction per argument, plus the call itself: \[ n = 4 + 1 = 5 \] Evaluating the argument expressions themselves would add further instructions ahead of these, and a nested call appearing as an argument expands the count considerably. The question asks only for the parameter-passing sequence, which is why the arithmetic is this simple.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development