Yes, air pressure is affected by temperature. When the temperature is higher the air pressure lowers and the weight of the air is lower. When air is warmer the molecules sperate and there are less molecules that can cause pressure.
An iceberg floating in the ocean is affected by the water pressure and buoyant force on the basis of the Archimedes' principle. This dictates that a volume of a liquid must supported by the pressure of a surrounding liquid.Ê