/in/foo.c: In function 'main':
/in/foo.c:16:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
16 | printf("%d",&triangle[i][j]);
| ~^ ~~~~~~~~~~~~~~~
| | |
| | int *
| int
| %ls
/in/foo.c:14:13: warning: 'i' is used uninitialized [-Wuninitialized]
14 | for(int i;i<n;i++){
| ~^~
/in/foo.c:14:10: note: 'i' was declared here
14 | for(int i;i<n;i++){
| ^
/in/foo.c:15:18: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
15 | for(int j;j<i;j++){
| ^