title: checking String's First letter for Special case and check the String with Space?
body: <p>I Wrote correct Code For 4 Test cases But struggling to write 2 test cases out of which one is a hidden test case(string with space)</p>
  
  <p>In the gifts store, Tintu finds a lot of fancy articles with letters inscribed in it. She decides to select gifts for her friends such that the first letter of their names is inscribed in the gift articles.</p>
  
  <p>There is a hifi-scanner device in the gifts shop that would illuminate the articles that contain the letters fed as input. There is another interfacing device that would pick the 1st letters of all names entered by the user. Suddenly the device started malfunctioning and Nisha the owner of the shop is very tensed. Tintu is a very close friend of Nisha and she offers to help her in fixing this issue. She starts rewriting the program to be embedded in the scanner like device. Can you help her out?</p>
  
  <blockquote>
    <p>TestCase</p>
    
    <p>Input 1</p>
    
    <p>MAHIRL</p>
    
    <p>CHITRA</p>
    
    <p>DEVI</p>
    
    <p>C</p>
    
    <p>Output 1</p>
    
    <p>yes</p>
    
    <p>Input 2</p>
    
    <p>MAHIRL</p>
    
    <p>CHITRA</p>
    
    <p>DEVI</p>
    
    <p>A</p>
    
    <p>Output 2</p>
    
    <p>no</p>
    
    <p>Input 3</p>
    
    <p>JON SNOW</p>
    
    <p>ARYA STARK</p>
    
    <p>HODOR</p>
    
    <p>S</p>
    
    <p>Output 3</p>
    
    <p>no</p>
    
    <p>Input 4</p>
    
    <p>@ON SNOW</p>
    
    <p>ARYA STARK</p>
    
    <p>HODOR</p>
    
    <p>@</p>
    
    <p>Output 4</p>
    
    <p>no</p>
  </blockquote>
  
  <p>The program below satisfies four of the test cases but it fails on two of them (special character and string with space)</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  void main()
  {
      char a[256],b[256],c[256];
      char d[256];
      printf("Enter the first name");
      scanf("%s",&amp;a);
      printf("Enter the Second name");
      scanf("%s",&amp;b);
      printf("Enter the third name");
      scanf("%s",&amp;c);
      printf("Enter the first Letter");
      scanf("%s",&amp;d);
      if(a[0] == "!@#$%^&amp;*+&lt;&gt;?|.,/[{]}\`~*:;'-_=)(" || b[0] == "!@#$%^&amp;*+&lt;&gt;?|.,/[{]}\`~*:;'-_=)(" || c[0] == "!@#$%^&amp;*+&lt;&gt;?|.,/[{]}\`~*:;'-_=)(" || d[0] == "!@#$%^&amp;*+&lt;&gt;?|.,/[{]}\`~*:;'-_=)(")
      printf("\nNo");
      if(d[0] == a[0] || d[0] == b[0] || d[0] == c[0])
      printf("\nYes");
      else
      printf("\nNo");
  }
  </code></pre>