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