specifying digital or analog pin?

The pinMode function defines whether a given pin that can be input or output IS input or output. The analog pins are input only, so there is no need to call the pinMode function to say that an analog pin is an input pin.