In all versions of Ocarina of Time, there is a rather bizarre glitch that occurs if you die at the same time you touch the entrance trigger to a grotto. This leads to some very interesting tricks on the 3DS version of the game.
If done properly, two things can occur. You'll either die, be revived by the fairy, then be stuck on top of the grotto, or you'll fall straight through the ground. If you fall, the fairy isn't necessary.
If you fall through the ground, you'll "enter" the grotto you did the trick over once you hit the out of bounds trigger. However, you'll be placed at your last entrance coordinates. If you fall out of bounds again, you'll end up outside at the last entrance before entering the grotto.
It's possible to Wrong Warp with the Death Hole glitch by pressing Start, then quitting the game. You can do this even if you fall through the ground, as long as you do so before falling out of bounds.
On quitting the game, instead of ending back at Hyrule Field on the title screen, you'll wrong warp to a location depending on which grotto you did the glitch on. Furthermore, the game state will be set to Title Screen Mode, meaning that you can continue to wrong warp until the state is set back to Game Mode.
There are four significant places you can wrong warp to.
Once warped, the bottom screen menus will be inaccessible. However, you can still use your B, X and Y items. To access the bottom screen you need to either have an Ocarina on B or use the Ocarina Items glitch. Even if you get a game over you'll still be in the area you wrong warped to.
With Farore's Wind and warp songs you can continue to wrong warp.
Normally your Ocarina is unusable, because of the blank screen. But if you have an Ocarina on B or use the Ocarina Items glitch, then you can play a warp song or quit playing the Ocarina to access the bottom screen.
Here's a list of where every warp song puts you with the exception of Minuet of Forest, Serenade of Water and Prelude of Light that crash the game with a white screen.
Warps you to the spot where the Hyrule Castle guards throw you out, if you get caught in the Courtyard. If you get caught by the guards near the gate as adult Link, you're warped to the Market entrance outside Ganon's Castle.
Warps to an objectless Desert Colossus. Trying to enter the Fairy Fountain crashes the game. The Spirit Temple entrance and the Haunted Wasteland entrance work normally.
Warps to Ganon's Tower escapes final bridge. You can walk back to the previous rooms, which eventually warp you back to the beginning. Going to Ganon works normally.