'define structure for variables dimentionnal array [duplicate]

Is it possible to build such a structure for array with a variable number of column and lines, so we could use different size 2D array?

struct imgDat {
    int largeur ;
    int hauteur ;
    int tab[hauteur][largeur];
};


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source