So I take it you're completly disregarding what Mark Darrah has said? :s
Yep. I made the mistake of believing "there wont be ABC endings" and "16 possible endings" etc...40 endings probably means:
ending 1: You beat the game with Varric, Vivienne, and Solas
ending 2: You beat the game with Varric, Vivienne, and Cassandra
ending 3: You beat the game with Varric, Iron Bull, and Solas
etc...which means you have different characters in your cutscene which stays the same or you beat it as an elf/dwarf/Qunari/human and there is a line saying "good job, you have made ____(elves/dwarves/Qunari/humans) proud!" Or maybe the fade explodes into various colors. Seriously, DA:O had 2 endings that were different but so short that you don't really notice (you die and there is a funeral, or you live and are in the throne room being congratulated) it was the epilogue slides that made the difference. ME1-2 each had one ending (makes sense of course since it needed to proceed into a sequel) DA2 had one ending no matter what you did, and so did ME3 other than the color of the explosions and then with that DLC 6 months later you get a differing speech too (equivalent to the epilogue slides). What would possibly make me believe that there would be multiple unique endings?