'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION)

I m having the same issue. Mine was already on x64 build and debug. Im new to cuda and VS.
My code`#include
include “cuda_runtime.h”
include “device_launch_parameters.h”

include <stdio.h>
global void add(int a, int b, int* c) {
c = a + b;
}
int main(void) {
int c;
int
dev_c;
cudaMalloc((void**)&dev_c, sizeof(int));
add <<<1,1>>> (2, 7, dev_c);
cudaDeviceSynchronize();
cudaMemcpy(&c,dev_c,sizeof(int),cudaMemcpyDeviceToHost);
printf(“2 + 7 = %d\n”, c);
cudaFree(dev_c);
return 0;
}`