how to get input in 2d array in c

[ad_1]

how to get input in 2d array in c
#include 

int main(){

    printf("Enter the number of columns");
    int i; 
    scanf("%d", &i);
    printf("Enter the number of rows");
    int y; 
    scanf("%d", &y);

    int r[i][y];
    int a;
    int b;

        for (a=0; a

[ad_2]

Content Protection by DMCA.com
Please Share