In short
Quality assurance (QA) refers to the systems and processes that prevent defects; quality control (QC) refers to verifying conformity of the product through inspection and testing.
QC measures at steps such as incoming inspection, in-process checks and final inspection. QA aims to stop defects arising in the first place through procedures, training, audits and improvement.
Both are part of a quality management system (QMS).