Another side effect is perspective. 18mm gives a different perspective from 105mm. Hence, the answer may not always be that simple.
If the shot is taken at the same place, zooming in or cropping will give you the same perspective except that details will be lost for cropping.