title: About Conflicting Types Error in C Programming
body: <p>can anyone help  me to find the why I am getting conflicting type of error in in the toLower(char letter) function.</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int main()
  {
      char letter;
      printf(&quot;Enter the upper case letter..!!&quot;);
      scanf(&quot;%c&quot;, &amp;letter);
      char new_letter = toLower(letter);
  
      printf(&quot;The new letter is %c &quot; , new_letter);
     return 0;
  }
  char toLower(char letter)
  {
      int distance = (int)'a' - (int)'A'; // Calculating the distance between letters...
  
      char new_letter = letter + (char) distance;
  
      return new_letter;
  }
  </code></pre>