Answer Posted / Deepa Sinha
The result depends on the data types of x, y, and z. If they are integers or floats, the operation will be performed according to the usual rules of arithmetic: first multiplication (y*z), then addition (x+(y*z)). However, if x is a string, the result will be a concatenation of x, y*z as strings. This is because the '+' operator has different meanings for numeric and string types.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers