1.

Select output for the following set of code.

A. sample.fun(1, 5) will not work correctly
B. s.i = 10 cannot work as i is ‘public’
C. sample.fun(1, 5) will set value as 5 in arr[1].
D. s.fun(1, 5) will work correctly
Answer» B. s.i = 10 cannot work as i is ‘public’


Discussion

No Comment Found