Difference between pointers and array

Pointers are used to store memory address values, Arrays are used to store similar data type values. In pointers we can dereference or access the value at pointing address by prefixing * just before the pointer but in Array we can access by specifying the index value.

%d bloggers like this: