后退

下载牛客APP
(不定项选择题)
#include <stdio.h>
struct A
{
    int a, b;
} B[2] = {1, 3, 6, 8};

int main() {
    struct A *ptr = B;
    printf("%d\n", (ptr++)->a);
    printf("%d\n", (ptr++)->b);
    return 0;
}
以上代码会输出的数字是()
1/1481
A 1
B 3
C 6
D 8
下一题 查看解析和讨论

牛客网©2016 All Rights Reserved