Xcode – Array stays empty after assignment
When executing this C code: double *t = (double*) malloc(10 * sizeof(double)); printf("%lun", sizeof(t)/sizeof(t[0]); for (int j = 0; j < 10; j++) { t[j] = 5 * powl((j/10), 0.4); printf("t_j: %lfn", t[j]); } My array has only 0 stored…