In ADA, when passing an "in out" parameter to a procedure, the system can use either pass by reference or pass by value as it sees fit, why did they do this?         to allow the programmer to choose how a particular data is transferred.     to optimize performance Ada will use pass by value   in order to minimize side effects     to save memory during compile       it will use pass by reference for large data/data sets but pass by value for smaller one or primitives.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Topic Video
Question

In ADA, when passing an "in out" parameter to a procedure, the system can use either pass by reference or pass by value as it sees fit, why did they do this?

   
   

to allow the programmer to choose how a particular data is transferred.

   

to optimize performance Ada will use pass by value   in order to minimize side effects

   

to save memory during compile

   

  it will use pass by reference for large data/data sets but pass by value for smaller one or primitives.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

so which answer choices are correct ?

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,