Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- double** a;
- int n = 3, m = 3;
- a = (double**)calloc(n, sizeof(double*));
- for (int i = 0; i < n; i++) a[i] = (double*)calloc(m, sizeof(double));
- a[0][2] = 3.14;
- //for () {
- // for() a
- //}
- printf("%1.9f", a[0][2]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement