1.

Who initiates explicit type casting?(a) The programmer(b) The compiler(c) The microcontroller(d) The assemblerI had been asked this question in final exam.This intriguing question comes from Type Conversions in section Arduino Programming of Arduino

Answer»

Correct answer is (a) The programmer

The best explanation: Explicit type casting is the process wherein the programmer specifies in the code the SOURCE and destination data type of any variable WHOSE type needs to be CONVERTED. Unlike IMPLICIT type casting, here the compiler doesn’t initiate the CONVERSION until the programmer says so.



Discussion

No Comment Found

Related InterviewSolutions