Nitric acid can be prepared in the laboratory by the reaction between;
Potassium nitrate and concentrated sulphuric acid
Potassium nitrate and concentrated hydrochloric acid