add_one.c 271 B

123456789101112131415
  1. /* add_one.c -- incrementing: prefix and postfix */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int ultra = 0, super = 0;
  6. while (super < 5)
  7. {
  8. super++;
  9. ++ultra;
  10. printf("super = %d, ultra = %d \n", super, ultra);
  11. }
  12. return 0;
  13. }