Segmentation fault (core dumped) in array data scanf

0

This next piece of error code, does not read the user data to allocate in the 5x2 array, I can not find the problem

 int linha=0, coluna=0;
    int matriz[5][2];


    for(linha=0;linha < 5; linha++){
        for(coluna=0;coluna < 2; coluna++){
        scanf("%i", matriz[linha][coluna]);
        }
        printf("\n");
    }
    
asked by anonymous 08.09.2018 / 02:43

0 answers