Has a FIBA World Cup game ever ended 40-35?
Exactly once. On October 29, 1950, Argentina beat Brazil 40-35, and no FIBA World Cup game before or since has ended that way. When it happened it was a scorigami, the first 40-35 in league history.
That makes 40-35 the 240th most common final score out of 863 that have ever occurred in FIBA World Cup. One point away, 41-35 has happened never and 40-36 has happened never.