1.

What is the need for ‘Conversion of data type’ in C#?(a) To store a value of one data type into a variable of another data type(b) To get desired data(c) To prevent situations of runtime error during change or conversion of data type(d) None of the mentionedThe question was asked during a job interview.This intriguing question originated from Type Conversion in Expressions topic in division Data Types, Variables and Operators of C#

Answer» RIGHT option is (c) To prevent SITUATIONS of RUNTIME error during change or conversion of DATA type

The best I can explain: By DEFINITION.


Discussion

No Comment Found

Related InterviewSolutions