#include <cstdio> int checkSystem() { char s[]="1000"; return (s[0]=='1'); } int main() { checkSystem()==1 ? printf("Little-endian\n") : printf("Big-endian\n"); return 0; }
2,644
社区成员
17,232
社区内容
加载中
试试用AI创作助手写篇文章吧