Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
123Warning(s): 747111815/source.c:7:17: warning: variable 'k' is uninitialized when used here [-Wuninitialized] double A[p][k]; // B[p][k]; ^ 747111815/source.c:6:30: note: initialize the variable 'k' to silence this warning int m, n, i, j, ch, p, k; ^ = 0 747111815/source.c:7:14: warning: variable 'p' is uninitialized when used here [-Wuninitialized] double A[p][k]; // B[p][k]; ^ 747111815/source.c:6:27: note: initialize the variable 'p' to silence this warning int m, n, i, j, ch, p, k; ^ = 0 2 warnings generated. Error(s): 747111815/source.c:7:14: runtime error: variable length array bound evaluates to non-positive value 0 747111815/source.c:7:17: runtime error: variable length array bound evaluates to non-positive value 0 747111815/source.c:18:13: runtime error: index 0 out of bounds for type 'double [k]' 747111815/source.c:19:31: runtime error: index 0 out of bounds for type 'double [k]' 747111815/source.c:18:13: runtime error: index 1 out of bounds for type 'double [p][k]' 747111815/source.c:19:31: runtime error: index 1 out of bounds for type 'double [p][k]' Enter m: Enter n: use random values:Y/N 81 62 71 35 11 42 72 48 91 19 18 27 87 31 23 79 |
λ
.NET NoSQL database for rapid development
|