Step 1: Understanding the Concept
The nature of a salt solution depends on the strength of the parent acid and base.
Step 2: Check each salt
Sodium chloride (strong acid and strong base) is neutral.
Potassium cyanide and sodium carbonate (weak acid and strong base) are basic because the anions hydrolyse to give \(\text{OH}^{-}\).
Ammonium nitrate comes from the strong acid \(\text{HNO}_3\) and the weak base \(\text{NH}_4\text{OH}\).
Step 3: Hydrolysis
\(\text{NH}_4^{+}+\text{H}_2\text{O}\rightleftharpoons\text{NH}_3+\text{H}_3\text{O}^{+}\), so \(\text{H}_3\text{O}^{+}\) increases and the solution is acidic.
Final Answer:
Ammonium nitrate gives an acidic solution.
\[ \boxed{\text{(B) }\text{Ammonium nitrate}} \]