Google News
logo
Perl - Quiz(MCQ)
When a string is used for numeral computations, perl converts it into ___
A)
character
B)
number
C)
boolean value
D)
floating point number

Correct Answer :   number


Explanation : There are some attributes which we should keep in mind while using perl. One of which is, when we use string for numerical comparison or computation, perl immediately converts it into a number.

Advertisement