I have come across two different usages for input pins with activated pullup resistor.
What is the difference between
pinMode(pin_number, INPUT); digitalWrite(pin_number, HIGH);
The last code uses about 120 Bytes less flash memory when compiled. But why is that / what other code is used "under the hood" in the two line code version?