CBSE · 083Class XII · 2025Section A1 mark

Question 07

4 March 2025 · Computer Science (083)

Which of the following operator evaluates to True if the variable on either side of the operator points towards the same memory location and False otherwise ?

Answer

(a) is

Explanation

The 'is' operator checks for object identity (memory location equality), whereas '==' checks for value equality.