CUDA compile issue

I’m currently working on visual studio and along with that using CUDA 10.1 and my gpu card is quadro 2000. In this my issue is ,whatever the programs i debug is running but it is not giving the expected output in the console instead of that for every different programs it is showing -858993460 as an output value. What would be the problem?.
kindly help me to slove the issue.

Thank and regards.