Duke: What'd you give the Krauts for that egg?
Sefton: Forty-five cigarettes. The price has gone up.
Duke: They wouldn't be the cigarettes you took us for last night?
Sefton: What was I going to do with them? I only smoke cigars.
Sefton: Sprechen sie Deutsch [Do you speak German]?
Price: No, I don't sprechen sie Deutsch.
Sefton: Maybe just one word? "Kaput"? Because you're kaput, Price.
Answer: The cast would have received copies of the script but with parts of the last scene omitted. They would be given the missing pages during the last days of the shoot, in which time they learn their lines, rehearse, then film the ending. Considering the time involved in filming a movie, actors do not necessarily memorize the entire script beforehand, but do so as each scene is shot. Also, it's questionable as to whether or not any of the cast did not know the ending as the movie was based on the Broadway play.
raywest ★