gpt4 book ai didi

c - printf %i 在这种情况下如何工作?

转载 作者:太空宇宙 更新时间:2023-11-04 06:13:44 25 4
gpt4 key购买 nike

<分区>

抱歉想问这个 question以另一种方式。

typedef   struct 
{
char duo_word[8];
} duo_word;


duo_word duo_word_inst = { .duo_word = { 'º', '\b', '\x1', '\0', 'À', '\xe', '2', 'a' } };

printf(" %i ", duo_word_inst); // gives 67770 but how?

以及如何将 67770 值提取到例如一个 int 变量?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com