Every action must be prosecuted in the name of the real party in interest, except as otherwise provided; but this section does not authorize the assignment of a thing in action not arising out of contract. An action may be maintained by a grantee of real estate in his own name, when he or any grantor or other person through whom he derives title might maintain such action, notwithstanding the conveyance of the grantor is void, by reason of the actual possession of a person claiming under a title adverse to that of the grantor, or other person, at the time of the delivery of the conveyance. In case of an assignment of a thing in action the action by the assignee is without prejudice to any setoff or other defense, existing at the time of, or before notice of, the assignment; but this does not apply to a negotiable promissory note or bill of exchange, transferred in good faith, upon good consideration, and before maturity.
N.C. Gen. Stat. § 1-57