title: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]|
body: <p>I try do declare the char but it's not working.
  Why the output don't appear? Everytime I finish insert the input the program crash.and it shows (note: expected 'const char *' but argument is of type 'int'|) also (warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion]|).</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;string.h&gt;
  /**Functions**/
  void info();
  void mark();
  void grade();
  void report();
  
  /**Variables**/
  char stdID[15][20];
  char subj[20][20];
  char stdgrade[30][20];
  int stdMark[30];
  int subjTaken[30];
  
  
  void mark()
  {
      printf("Enter subject taken : ");
      scanf("%d", &amp;subjTaken[i]);
  
      for(j=0;j&lt;subjTaken[i]; j++)
      {
          printf("\nEnter subject : ");
          scanf("%s", &amp;subj[j]);
  
          printf("Mark for the subject : ");
          scanf("%d", &amp;stdMark[j]);
          grade();
      }
  }
  void grade()
  {
          if((stdMark[i]=0)&amp;&amp;(stdMark[i]&lt;=39))
              {
                 strcpy(stdgrade[i],'G');
              }
              else if(stdMark[i]&lt;45)
              {
                  strcpy(stdgrade[i], 'E');
              }
              else if(stdMark[i]&lt;50)
              {
                  strcpy(stdgrade[i], 'D');
              }
              else if(stdMark[i]&lt;55)
              {
                  strcpy(stdgrade[i], 'C');
              }
              else if(stdMark[i]&lt;60)
              {
                  strcpy(stdgrade[i], 'C+');
              }
              else if(stdMark[i]&lt;65)
              {
                  strcpy(stdgrade[i], 'B');
              }
              else if(stdMark[i]&lt;70)
              {
                  strcpy(stdgrade[i], 'B+');
              }
              else if(stdMark[i]&lt;80)
              {
                  strcpy(stdgrade[i], 'A-');
              }
              else if(stdMark[i]&lt;90)
              {
                  strcpy(stdgrade[i], 'A');
              }
              else if (stdMark[i]&lt;=100)
              {
                  strcpy(stdgrade[i],'A+');
              }
  
  }
  </code></pre>