In higher level languages I would be able something similar to this example in C and it would be fine. However, when I compile this C example it complains bitterly. How can
In C99, using compound literals, you could do:
memcpy(values, (int[3]){1, 2, 3}, sizeof(int[3]));
or
int* values = (int[3]){1, 2, 3};