I am getting a segmentation fault error but I really cannot spot where it comes from. So I have a code as following:
segmentation fault