Overloading in SML

I am confused pleas help: Consider an unknown language with a left – associative + operator that is overloaded to have the following type: int*real -> real, int*int -> int, real*int _> real, and real*real->real.Suppose the variable i has type int and the variable r has type real.For each + operator in each of the following expressions, say which type of + is used:a. i + rb. i + r + ic. i + ( r + i)d. I + i + r + ( r+i)Programming and Computer Science

Looking for this or a Similar Assignment? Click below to Place your Order

Open chat
%d bloggers like this: