• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            NULL 0 \0以及nul的區(qū)別

            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'
            国产激情久久久久久熟女老人| 久久男人Av资源网站无码软件| 国产精品伦理久久久久久 | 久久艹国产| 久久福利资源国产精品999| 亚洲午夜久久久久久噜噜噜| 人妻无码αv中文字幕久久琪琪布| 2021久久精品国产99国产精品| 品成人欧美大片久久国产欧美...| 久久久久亚洲av成人无码电影| 无码人妻精品一区二区三区久久| 狠狠色噜噜狠狠狠狠狠色综合久久| 久久精品国产亚洲Aⅴ蜜臀色欲| 亚洲国产精品无码久久| 久久国产精品免费一区二区三区| 日批日出水久久亚洲精品tv| 久久亚洲AV成人出白浆无码国产| 国产成人久久精品二区三区| 中文字幕人妻色偷偷久久| 久久不见久久见免费影院www日本| 亚洲va国产va天堂va久久| 久久国产免费直播| av无码久久久久久不卡网站 | 一本久久知道综合久久| 一级做a爰片久久毛片16| 久久婷婷五月综合97色一本一本| 久久精品国产99久久丝袜| 久久―日本道色综合久久| 亚洲国产美女精品久久久久∴| 欧美国产成人久久精品| 久久国产成人午夜aⅴ影院| 99热精品久久只有精品| 国产精品久久久久天天影视| 无码国内精品久久人妻蜜桃| 久久精品人人做人人爽电影| 人人狠狠综合久久亚洲高清| 久久久WWW成人免费精品| 久久精品视频91| 中文国产成人精品久久亚洲精品AⅤ无码精品| 精品久久久久久国产| 夜夜亚洲天天久久|