How to create multiple functions in C
<p>I am new to C programming and I am trying to create functions.  The first function executes but the second one doesn't.</p>

<pre><code>#include &lt;stdio.h&gt;
char get_char();
int main(void)
{
   char ch;
   printf("Enter a character &gt; ");
   scanf("%c", &amp;ch);
   return ch;
}

int get_int()
{
    int i;
    printf("Enter an integer between 0 and 127 &gt; ");
    scanf("%d", &amp;i);
    return i;
}
</code></pre>