cpp:(.text._ZN3GfGC2Ev[_ZN3GfGC5Ev]+0xa): undefined reference to `GfG::i' collect2: error: ld returned 1 exit status Right way to assign value to static variable in class: #include<iostream> using namespace std; class GfG { public: static int i; GfG() { // Do nothing };...