About null?? | SoloLearn: Learn to code for FREE!

+5

About null??

5/2/2018 4:59:39 AM

gowri

5 Answers

New Answer

+5

"When a variable has no value, it considered to be null. Having a null value is different than having a value of 0, since 0 is an actual value. However, when used in a boolean test, both null and zero result in a FALSE value. Programmers often use boolean tests to determine whether a variable has been given a value or not." [Source: the open net --> https://techterms.com/definition/null] https://www.sololearn.com/discuss/1188145/?ref=app https://www.sololearn.com/discuss/1101931/?ref=app https://www.sololearn.com/discuss/345807/?ref=app https://www.sololearn.com/discuss/888003/?ref=app https://www.sololearn.com/discuss/740566/?ref=app

+6

When a variable has no value, it considered to be null. Having a null value is different than having a value of 0, since 0 is an actual value. However, when used in a boolean test, both null and zero result in a FALSE value. Programmers often use boolean tests to determine whether a variable has been given a value or not.

0

not zero 😉

0

In c, c++ NULL is a built in constant and pointer as well which point nothing...!!!