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.
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.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 7RQ
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Knowledge Booster
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.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,