Scanf this function may be unsafe. Scanf в си. scanf c. printf scanf c++.