Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#include<stdio.h> int main() { int x; x=~!printf; printf("%x",x); }
有人可以向我解释得出该程序输出的过程吗?
printf
!
0
1
~
0xffffffff
x
在 64 位机器上,您可能会得到0xffffffffffffffff,尽管我不完全确定。
0xffffffffffffffff