Question:What will be the return value if the function fn is called with a value of 50 for the parameter var?
public int fn(int var)
{
    int retvar = var - (var / 10 * 5);
    return retvar;
}
 

A 50 

B 25 

C 49 

D Error message 

E None of these 

+ Answer
+ Report
Total Preview: 857

Copyright © 2024. Powered by Intellect Software Ltd