1.

What is Type Casting?(a) Converting a file from one type to another(b) Creating new arrays(c) Deleting the variable from memory(d) Converting a variable from one type to anotherThe question was posed to me in homework.This question is from Type Conversions topic in chapter Arduino Programming of Arduino

Answer»

The correct option is (d) Converting a VARIABLE from ONE type to another

Explanation: Casting is the PROCESS of forcefully converting a variable from one data type to another. There are 4 types of casting; static CAST, dynamic cast, const cast, reinterpret cast.



Discussion

No Comment Found

Related InterviewSolutions