Hi,
I'm wondering what actually happens when you declare a pointer and initialize it on the same line.

Does it set the pointer's value or the value the pointer points to?

Which of the following is correct?

int *a = 1;

or

int *b = malloc(4);

Thanks,
Cedric