-1
char *str = "ABCDE";
In the above line, “ABCDE” is stored in a shared read only location, but pointer str is stored in a read-write memory.
int *array = {1,2,3,4,5};
Here, you are trying to initialize, but you can't initialize a pointer like an array.