https://msdn.microsoft.com/en-gb/library/w40768et.aspx
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 []. The buffer size in characters is passed as an additional parameter immediately following the pointer to the buffer or variable.
Czyli spróbuj:
scanf_s("%c", &ciag[i], 1);
Albo po prostu korzystaj normalnie ze standardowego scanf. Tak, wiem, że VS tego nie lubi, ale w treści błędu masz napisane co masz zrobić. O ile twój program składa się z jednego pliku, to możesz po prostu w pierwszej linii dać #define <nazwa z treści błędu>, ale najlepiej Project->Properties->C/C++->Preprocessor->Preprocessor Definitions - tam dopisz. Tylko upewnij się, że ustawiasz dla właściwiej konfiguracji/platformy (debug/release x86/x64) bo VS lubi mieszać.