title: Unhandled exception at 0xFEFEFEFE in Project1.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000003)
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  #include &lt;stdlib.h&gt;
  void main(void)
  {
      char name[50];
      char name1[50];
      char address[50];
      char gender[50];
      char college[50];
      char hscmonth[10];
      char school[50];
      char sscmonth[10];
      int dd, mm, yyyy, cell1, cell2, hscyear, sscyear, cnic1, cnic2, cnic3;
  
      printf("\n****************************RESUME****************************");
      printf("\n******************************CV******************************");
      printf("\n**************************************************************");
      printf("\n==============================================================");
      printf("\nEnter name: ");
      scanf_s("%s",name);
      printf("\nEnter Fathers name: ");
      scanf_s("%s",name1);
      printf("\nEnter Address: ");
      scanf_s("%s",address);
      printf("\nEnter Gender: ");
      scanf_s("%s",gender);
      printf("\nEnter College: ");
      scanf_s("%s",college);
      printf("\nEnter HSC Month: ");
      scanf_s("%s",hscmonth);
      printf("\nEnter HSC Year: ");
      scanf_s("%d",&amp;hscyear);
      printf("\nEnter School: ");
      scanf_s("%s",school);
      printf("\nEnter SSC Month: ");
      scanf_s("%s",sscmonth);
      printf("\nEnter SSC Year: ");
      scanf_s("%d",&amp;sscyear);
      printf("\nDate of Birth :");
      scanf_s("%d%d%d",&amp;dd,&amp;mm,&amp;yyyy);
      printf("\nCell Phone :");
      scanf_s("%d%d",&amp;cell1,&amp;cell2);
      printf("\nCNIC :");
      scanf_s("%d%d%d",&amp;cnic1,&amp;cnic2,&amp;cnic3);
  
      _getch();
  }
  </code></pre>
  
  <p>my program crashes after the first scanf_s, I tried everything every tutorial available on you tube etc , but the error did not got resolved, hope I'll get my problem solved soon, please do explain when you reply as it is sort of assignment for me.If possible please do attach the correct code as well, Thank you</p>