What is the output of the following code? [code]any([])[/code]

Answer: a
Explanation: Since there are no elements in the input vector, it also means there are no non-zero elements in the vector. Hence, the logical result of the operation is 0.
 

Tìm kiếm

Back
Top