Segmentation Fault (Core Dump) C : <p>I've started to study C this week, I'm totally new in programming in C, and when I tryed to do this exercise this error in the console keep showing up.</p>

<pre><code>#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;

float calc(float *sall, float *salb)
{
    float hraula, insspc;
    int naula;
    printf("Digite o valor da hora-aula e o numero de aulas dadas:");
    scanf("%f%i", hraula, naula);
    printf("Digite a porcentagem do inss retirada do salário:");
    scanf("%f",insspc);
    *salb = hraula * naula;
    *sall = *salb * ((100 - insspc) / 100);
    return 0;
}

int main()
{
    float salbt, sallq;
    calc(&amp;sallq, &amp;salbt);
    printf("O salário bruto é: %f R$, liquido: %f R$", salbt, sallq);
    return 0;
}
</code></pre>

<p>Well hope someone can help me, thanks!</p>
