A Samsung range displaying C-21 is telling you the oven is overheating. Switch it off and restart it; if the code returns, Samsung's manual says to cut power to the range briefly and reconnect.
What it means
Oven overheating
Samsung gas slide-in range (NSG6**87 user manual), NSG6**87****** Major
Regions: United States
What the manual says
The control says the oven is running too hot. The manual's steps are to turn the oven off and restart it, and if that does not clear it, to disconnect power to the range for a short while.