if vs ==

MCQ

Which line of code is correct to test whether the variable x equals 10?

Possible answers