Can we have whole of the array declared as volatile in embedded C?? If yes/no can anyone justify it with a practical example in Embedded C?? I can assume the array as input char buffer for random strings in interrupts externally to microcontroller. What can be the other significance/advantage of declaring array as volatile..
volatile char rcv_buf[].
volatile int score[];
Thanks in advance.