C
easy one for you guys. I don't have the text for the standard so I ask here: given 2 integers i1 and i2 and the following operation: i1/i2 for i2>0 what data type is the result expected to be?
If you think like a PLC, you might truncate the result and get an integer. If you think like a compiler you should get a float.
If you think like a PLC, you might truncate the result and get an integer. If you think like a compiler you should get a float.