title: Trying to use islower with array and pointers...getting error?
body: <p>I tried arrays, pointers with string in the following program, but I don't know where I am going wrong.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;ctype.h&gt;
  
  // finding out the uper case and lower case in a string
  
  int main()
  {
      char *arr_1[] = {"CalCulaTor", "DoveTail", "MachiNing"};
      int i = 0, j;
  
      while(*(arr_1 + i) != '\0')
      {
          printf(" %d letter is %s ",i,islower(*(arr_1 + i)) ? "Lower case    " : "Not lower case");
          printf("\n");
          i++;
      }
  
      system("PAUSE");
  
      return 0;
  }
  </code></pre>