• <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 閱讀(736) 評論(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'
            中文字幕久久欲求不满| yy6080久久| 久久国产精品波多野结衣AV| 久久93精品国产91久久综合| 伊人久久大香线蕉综合5g| 亚洲精品无码久久久久sm| 99国内精品久久久久久久 | 乱亲女H秽乱长久久久| 久久久久久久尹人综合网亚洲 | 色综合合久久天天综合绕视看 | 久久久久亚洲爆乳少妇无| 国产69精品久久久久久人妻精品| 久久精品免费一区二区三区| 欧美久久久久久| 久久精品国产亚洲沈樵| 精品无码久久久久国产动漫3d| 青青草原1769久久免费播放| 影音先锋女人AV鲁色资源网久久 | 久久人爽人人爽人人片AV| 久久国产免费直播| 久久久九九有精品国产| 奇米综合四色77777久久| 中文字幕无码久久精品青草| 国产福利电影一区二区三区,免费久久久久久久精 | 亚洲一区二区三区日本久久九| 亚洲精品国产字幕久久不卡 | 波多野结衣久久| 性欧美大战久久久久久久| 久久免费精品一区二区| 久久w5ww成w人免费| 日日躁夜夜躁狠狠久久AV| 97精品依人久久久大香线蕉97| 一个色综合久久| 国内精品久久久久影院老司| 亚洲а∨天堂久久精品9966| 久久人搡人人玩人妻精品首页| 国产精品狼人久久久久影院 | 狠狠精品久久久无码中文字幕| 亚洲国产精品成人久久蜜臀| 亚洲国产成人久久综合碰| 2020国产成人久久精品|