• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Prayer

            在一般中尋求卓越
            posts - 1256, comments - 190, trackbacks - 0, articles - 0
              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            NULL 0 \0以及nul的區別

            Posted on 2009-07-06 16:02 Prayer 閱讀(738) 評論(0)  編輯 收藏 引用 所屬分類: C/C++
            NULL is a macro defined in several standard headers, 0 is an integer constant, '\0' is a character constant, and nul is the name of the character constant. All of these are *not* interchangeable:

            NULL is to be used for pointers only since it may be defined as ((void *)0), this would cause problems with anything but pointers.

            0 can be used anywhere, it is the generic symbol for each type's zero value and the compiler will sort things out.

            '\0' should be used only in a character context.

            nul is not defined in C or C++, it shouldn't be used unless you define it yourself in a suitable manner, like:

            #define nul '\0'
            久久高潮一级毛片免费| 精品免费久久久久久久| 久久久久久国产精品无码下载| 久久99精品久久久久久噜噜| 欧美性猛交xxxx免费看久久久| 久久国产精品视频| 久久国产色av免费看| 婷婷综合久久狠狠色99h| 亚洲国产精品综合久久一线| 久久精品麻豆日日躁夜夜躁| 久久亚洲精品无码观看不卡| 国内精品伊人久久久久av一坑| 国产精品久久久99| 久久久久女人精品毛片| 日本久久久久久久久久| 99久久人妻无码精品系列蜜桃| 久久婷婷是五月综合色狠狠| 国产精品久久久久久| 青青草原综合久久大伊人| 久久亚洲精品中文字幕三区| 99久久国产精品免费一区二区| 99久久精品免费国产大片| 久久综合久久自在自线精品自 | 久久久久久久久66精品片| 韩国三级大全久久网站| 影音先锋女人AV鲁色资源网久久| 久久久久香蕉视频| 99久久精品国产综合一区| 国产99精品久久| 国内精品久久久人妻中文字幕| 国产精品成人久久久| 久久久久这里只有精品| 精品99久久aaa一级毛片| 久久这里只有精品首页| 潮喷大喷水系列无码久久精品 | 久久久国产99久久国产一| 久久久久久噜噜精品免费直播| 国产精品成人无码久久久久久| 一级做a爰片久久毛片16| 久久99精品国产99久久| 51久久夜色精品国产|