My C Quiz

The ultimate place to learn C!

Question #25: When running the code below, line 7 that increments y will always be executed at runtime.

  1 
  2 int main()
  3 {
  4     int x = 0;
  5     int y = 0;
  6     if (!x){
  7        y++;
  8     }
  9     return 0;
 10 }