McqMate
| Q. |
How does the identity operator === compare two values? |
| A. | It converts them to a common compatible data type and then compares the resulting values |
| B. | It returns True only if they are both of the same type and value |
| C. | If the two values are strings, it performs a lexical comparison |
| D. | It bases its comparison on the C strcmp function exclusively |
| Answer» A. It converts them to a common compatible data type and then compares the resulting values | |
View all MCQs in
Linux and PHPNo comments yet