Question: The syntax for type casts in C and its descendants introduces potential ambiguity: is (x) - y a subtraction, or the unary negation of y,

The syntax for type casts in C and its descendants introduces potential ambiguity: is (x) - y a subtraction, or the unary negation of y, cast to type x? Find out how C, C++, Java, and C# answer this question. Discuss how you would implement the answer(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
