Digital-Logic-Design
October 16, 2023
UGC NET CS 2010 June-Paper-2
October 16, 2023
Digital-Logic-Design
October 16, 2023
UGC NET CS 2010 June-Paper-2
October 16, 2023

Data-Structures

Question 41

The results returned by function under value-result and reference parameter passing conventions

A
Do not differ
B
Differ in the presence of loops
C
Differ in all cases
D
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.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!