I'm trying to make a dynamic struct array using malloc.
I have a struct: 
typedef struct{
    char question[200];
    char answer1[30];
    char answer2[30];
    char answer3[30];
    char correctAnswer[2];
}Questions;
And the following code:
int length = 10;
Questions * qArray = malloc(length*sizeof(*qArray));
For some weird reason the sizeof(qArray) returns 4 even if I change length. How do I actually set the correct size of the array?
 
     
     
     
     
    