Alkynes are hydrocarbons that contain a triple bond between two carbon atoms. The general formula for alkynes is:
\[
C_n H_{2n-2}
\]
where \( n \) is the number of carbon atoms in the molecule. This formula reflects the fact that alkynes are unsaturated hydrocarbons with two fewer hydrogen atoms compared to alkanes (which follow the formula \( C_n H_{2n+2} \)) and alkenes (which follow the formula \( C_n H_{2n} \)).
Step 1: Analyzing option (A).
Option (A) \( C_n H_{2n} \) is the formula for alkanes, not alkynes.
Step 2: Analyzing option (B).
Option (B) \( C_n H_{2n+2} \) is the formula for alkanes, not alkynes.
Step 3: Analyzing option (D).
Option (D) \( C_{n+2} H_{2n} \) is not the correct formula for any specific type of hydrocarbon.
Step 4: Conclusion.
Thus, the correct formula for alkynes is (C) \( C_n H_{2n-2} \).