Exam4Training

Which of the following eval command function is valid?

Which of the following eval command function is valid?
A . Int ()
B . Count ( )
C . Print ()
D . Tostring ()

Answer: D

Explanation:

The eval command supports a number of functions that you can use in your expressions to perform calculations, conversions, string manipulations and more2. One of the eval command functions is tostring(), which converts a numeric value to a string value2. Therefore, option D is correct, while options A, B and C are incorrect because they are not valid eval command functions.

Exit mobile version