the casting on the left side of the block, the casting symbols on the heads. It's hard to see the stampings on most LAs when installed. Otherwise, no way without pulling a valve cover and getting numbers.
If you can get under the car and look above the starter on the drivers side. You will see a casting number. It will have the cubic inch as 318 or 340 in it.