✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Az alábbi függvény egy egydimenziós tömb helyfoglalására kellene szolgáljon, de három sora hibát tartalmaz. Melyek ezek?
1. void allocateMemoryForArray(int n,**dpArray) { 2. *dpArray = (int *) malloc(n * sizeof(int); 3. if (!(*dpArray)) { 4. printf(“ERROR”); 5. exit(-1); } 6. return (*dpArray);