1

Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient? i) Int32.Parse() is only used for strings and throws argument exception for null string ii) Convert.Int32() used for data types and returns directly '0' for null string

Correct Answer: ii

Make the most of this question

This page focuses on one C++ MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C++ MCQs MCQ: Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient? i) Int32.Parse() is only used for strings and throws argument exception for null string ii) Convert.Int32() used for data types and returns directly '0' for null string | Extra Education