Computer Science, asked by hananafathima75, 3 months ago

choose the correct statement which depicts the difference between "==" and "==="?​

Attachments:

Answers

Answered by unknowntitle000
0

Answer:

” ==” only compares values and “===” compares values and type

Explanation:

Answered by tanvigupta426
0

Answer:

The correct answer is option (b).

Explanation:

The major distinction between the "==" and "===" operator exists that once compares variable by creating type correction e.g. if you reach a number with a string with numeric literal, == permits that, but === doesn't permit that, because it not just checks the value but also the kind of two variable if two variables are not of the exact type "===" return false, while "==" return true.

Therefore, option (b) is the correct answer.

#SPJ3

Similar questions