⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 enum-2.c

📁 linux下编程用 编译软件
💻 C
字号:
/* Copyright (C) 2000 Free Software Foundation *//* by Alexandre Oliva  <aoliva@redhat.com> */enum foo { FOO, BAR };/* Even though the underlying type of an enum is unspecified, the type   of enumeration constants is explicitly defined as int (6.4.4.3/2 in   the C99 Standard).  Therefore, `i' must not be promoted to   `unsigned' in the comparison below; we must exit the loop when it   becomes negative. */intmain (){  int i;  for (i = BAR; i >= FOO; --i)    if (i == -1)      abort ();  exit (0);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -