title: Please tell me where I've gone wrong
body: <pre><code>#include &lt;stdio.h&gt;
  main()
  {
      char name1[15],name2[15],name3[15];
      int no;
  
      printf("Enter the serial number and name one\n");
      scanf("%d %15c',&amp;no, name1");
      printf("%d %15s\n\n",no,name1);
  
      printf("Enter serial number and name two\n");
      scanf("%d %s",&amp;no,name2);
      printf("%d %15s\n\n",no, name2);
  
      printf("Enter serial number and name three");
      scanf("%d %15s",&amp;no,name3);
      printf("%d %15s\n\n",no,name3);
  }
  </code></pre>
  
  <p>Hi, I'm new to programming, I've started with C for some reasons. The code I've typed above is my program that I want to execute. When I execute it with Code::Blocks it runs till <em>Enter the serial number and name one</em> and then if I enter a number it become not responding. Then I tried compiling using Visual Studio 2013 it again stops responding.</p>
  
  <p>After that I tried debugging using Visual Studio 2013 debugger it said this <em>First-chance exception at 0x7575B790 (msvcrt.dll) in temp.exe: 0xC0000005: Access violation writing location 0x00000000.</em> after pressing continue it said this <em>Unhandled exception at 0x7575B790 (msvcrt.dll) in temp.exe: 0xC0000005: Access violation writing location 0x00000000.</em> 
  I have programmed before this one in Code::Blocks they all worked well. Please tell me where I've gone wrong. Also please explain the use of %s.</p>
  
  <p>Thanks</p>