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 mentioned
The 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#
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.