Hello, can somebody give me some help about using pointers to arrays?
What I want to do is to use a array of integers. This is the come I came up with:
myArray = (void*)malloc(sizeof(int) *10);
Is that correct? How can I access the 2nd element of my array? I tried *myArray but it didn't work.