Which of the following will check ' x is not equal to null' - Study24x7
Social learning Network
58 followers study24x7 10 May 2020 08:03 PM study24x7 study24x7

Which of the following will check " x is not equal to null"

A

if(!x)

B

if(x != null)

C

if(x !== null)

D

if(!x == null)

study24x7
Write a comment
  • prem shankar
  • I think B is the correct option
  • A k
  • B is correct option in many language
  • SAURABH SHARMA
  • Answer of this question is language dependant. So please mention in which languag. I answered it according to java script
    Related Questions
    500+   more Questions to answer
    Most Related Articles