ive written the following as a program in order to convert a pointer with a sequence of integers as its adress into an integer number: 

```
#include <math.h>
#include <stdio.h>

char *recepcao() { char *receber;
    scanf("%s", receber);
    return receber;
}
int conversao(char *string) { int i, j;
    for(i=0; string[i]!='\0'; ++i) {
        continue;
    }
    int *var;
    int contagem=0;
    for(j=0; j<i-1; ++j) {
        var[j]=(string[j]-'0');
        contagem+=var[j]*pow(10, (i-j-1));
    }

    return contagem;
}
int main() {
    printf("%i", conversao(recepcao())); return 0;
}

```

I've tried about a thousand times to correct all the loops, but still after recieving the scanf value the program would crash, as stated on some IDEs, and would display a "Segmentation Fault: 11" message on others. How can I fix this? what is the proper definition of that message?