C programming - Modern Approach Solutions