欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來到入門教程網(wǎng)!

C語言

當前位置:主頁 > 軟件編程 > C語言 >

解決不用sizeof求出int大小的方法

來源:本站原創(chuàng)|時間:2020-01-10|欄目:C語言|點擊: 次

代碼如下所示:

復制代碼 代碼如下:

#include <stdio.h> 
int main(int argc, char *argv[]) 

    int a[2]; 
    unsigned int add1 = &a[0]; 
    unsigned int add2 = &a[1]; 
    printf("The address of a[0] is %u/n",add1); 
    printf("The address of a[1] is %u/n",add2); 
    printf("The size of int is %u/n", add2 - add1); 
}

輸出結果是:
The address of a[0] is 3218821936
The address of a[1] is 3218821940
The size of int is 4

上一篇:如何實現(xiàn)一定概率選中某一個字母

欄    目:C語言

下一篇:C/C++中退出線程的四種解決方法

本文標題:解決不用sizeof求出int大小的方法

本文地址:http://mengdiqiu.com.cn/a1/Cyuyan/4374.html

網(wǎng)頁制作CMS教程網(wǎng)絡編程軟件編程腳本語言數(shù)據(jù)庫服務器

如果侵犯了您的權利,請與我們聯(lián)系,我們將在24小時內進行處理、任何非本站因素導致的法律后果,本站均不負任何責任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權所有