Prior to registering for a course through UNC Online, meet with your advisor to confirm how/if the course you want to take online from another campus will count toward your degree. Also, generally, you must earn a C or better to receive transfer credit for a course.
The "Equivalency Finder" (http://equivalency.northcarolina.edu) will help you locate courses at other UNC system campuses that have been approved for transferring to a selected course at your home campus. Course equivalencies may change over time or may differ by degree program. You should consult with your advisor about specific course equivalencies and degree requirements.