Step 1: Understanding the Concept
\(\text{C}+\text{O}_2\rightarrow\text{CO}_2\): 1 mol of C reacts with 1 mol of \(\text{O}_2\) to give 1 mol of \(\text{CO}_2\).
Step 2: Moles available
Carbon: \(2\) mol.
Oxygen: \(\dfrac{16}{32}=0.5\) mol.
Step 3: Limiting reagent
Oxygen is limiting, so \(0.5\) mol of \(\text{CO}_2\) is formed.
Step 4: Mass of CO2
\(0.5\times44=22\ \text{g}\)
Final Answer:
22 g of carbon dioxide is produced.
\[ \boxed{\text{(D) }22\ \text{g}} \]