C System Stackoverflowexception While Filling The List Stack Overflow

C System Stackoverflowexception While Filling The List Stack Overflow