1.

Who carries out implicit type casting?(a) The programmer(b) The assembler(c) The compiler(d) The microcontrollerThis question was addressed to me during an online exam.This interesting question is from Type Conversions topic in portion Arduino Programming of Arduino

Answer»

The correct choice is (c) The compiler

For explanation: This is also CALLED type promotion and is carried out AUTOMATICALLY by the compiler wherein it automatically converts a variable from one DATA type to another data type which is HIGHER than that. Usually this is done to avoid any loss of data during calculations of floating type NUMBERS.



Discussion

No Comment Found

Related InterviewSolutions