difference between fopen and fopen_s

what is the difference between fopen and fopen_s in .cpp files
please ans
thanks

This isn’t really an OpenCL question. A quick google finds a well defined answer here: https://stackoverflow.com/questions/2575116/fopen-fopen-s-and-writing-to-files