3738
2015-02-03 22:48:35
0
Unlike scanf and wscanf, scanf_s and wscanf_s require the buffer size to be specified for all input parameters of type c, C, s, S, or string control sets that are enclosed in [].
https://msdn.microsoft.com/en-us/library/w40768et.aspx