What is the difference between char array and char pointer in C?
Sep 13, 2019 · 286 char* and char[] are different types, but it's not immediately apparent in all cases. This is because arrays decay into pointers, meaning that if an expression of type char[] is provided where one o...