Generally only permitted in court when dealing engaging in cross-examination or dealing with a hostile witness.
Example of a leading question: "you knew where you were going, didn't you?"