Upon motion of a party the judge may order all or some of the witnesses other than the defendant to remain outside of the courtroom until called to testify, except when a minor child is called as a witness the parent or guardian may be present while the child is testifying even though his parent or guardian is to be called subsequently.
N.C. Gen. Stat. § 15A-1225