Consider the following program:
#include <stdio.h>
#include <stdlib.h>
#define SIZE 3
void func1(int **z);
int main() {
int x, *y, index;
x=2;
y = (int*) malloc(sizeof(int) *SIZE);
for (index=0;index<SIZE; index++)
y[index] = x*2*index;
printf("%3i%3i%3i",*y,*(y+1),*(y+2));
func1(&y);
printf("%3i\n",*(y+1));
return 0;
}
void func1(int **z) {
printf("%3i",**z);
}
Write the expected values that will be printed onto the console due to the printf()
functions.