Initialize a static member ( an array) in C++ August 7, 2023 by Tarik You can, just do this in your .cpp file: char A::a[6] = {1,2,3,4,5,6};