Will the world end in 2040?

No. If the world didn't end in 2012, like the Mayan Calendar said, it will never end.