· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Zero As Null


if (cp != NULL) ...

if (cp != (char*)0)  ...

if (cp != 0) ...

if (cp) ...
´Â ¸ðµÎ °°´Ù.

½Ã½ºÅÛ¿¡¼­´Â NULLÀÌ 0ÀÌ ¾Æ´Ò ¼ö ÀÖÁö¸¸, ¾ðÁ¦³ª 0Àº Á¤¼ö »ó¼öÀÎ µ¿½Ã¿¡ ¾ð¾î ¸í¼¼»ó null pointer constant·Î Á¤ÀǵǾî ÀÖ´Ù.



EOF¿¡ ÁÖ·Î -1ÀÌ ¾²À̱â´Â ÇÏÁö¸¸, intÀÎ À½¼ö¸é µÈ´Ù.

ID
Password
Join
Of all forms of caution, caution in love is the most fatal.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-10-03 08:56:42
Processing time 0.0027 sec