(a)
#include <stdio.h>
#include <string.h>
#include <strsafe.h>
void main()
{
char str[10];
strcpy(str, "hello");
puts(str);
}
(b)
error C2065: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA' : undeclared identifier
(c)
#undef strcpy
#define strcpy strcpy_instead_use_StringCbCopyA_or_StringCchCopyA;