单选题

知识点:C/C++ 2/10(单选) For a CPU with 32-...

发布于 2022-03-03 17:30:54

对于 3 2位机器,对齐模数为 8,则下面代码输出结果为()
#include<iostream>
#include<string>

using namespace std

typedef struct data_ {
    int a[10]
} data_t

typedef struct descriptor_ {
    data_t* ptr
    char data[0]
} desc_t


int main() {
    cout << sizeof(desc_t) << endl
    return 0
} 

登录后免费查看答案
关注者
0
被浏览
11
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看