declare static table filled cpp

#include <iostream>

class Table {
public:
    static int table[5];
};

int Table::table[5] = {1, 2, 3, 4, 5};