/* * Code example for CP264 Data Structures II * 2D array and 3D array * Write a program to display Pascal's triangle, i.e. the coefficients of (1+x)^n, n = 0, 1, 2, ..., m * HBF */ #include int main(int argc, char* args[]) { int n = 5; if (argc > 1) n = atoi(args[1]); int a[n][n]; int i, j; for (i=0; i