Digital-Logic-Design
October 16, 2023UGC NET CS 2010 June-Paper-2
October 16, 2023Data-Structures
Question 41 |
The results returned by function under value-result and reference parameter passing conventions
Do not differ | |
Differ in the presence of loops | |
Differ in all cases | |
May differ in the presence of exception |
Question 41 Explanation:
The result return by the function under value-result and reference parameter passing conventions may differ in presence of exception because in value-result the updated value can be returned to the original variable. But in case of reface parameter the value can change immediately.
Correct Answer: D
Question 41 Explanation:
The result return by the function under value-result and reference parameter passing conventions may differ in presence of exception because in value-result the updated value can be returned to the original variable. But in case of reface parameter the value can change immediately.
Subscribe
Login
0 Comments