Where exactly are the pitot tubes positioned on the A330/340?
Seems like they are under the cockpit for the A330

source

Couldn't really find anything for the A340 that helped with answering your question but I assume based on the A330 that they most likely are located somewhere in the same area.