I understand that using sig_ign like signal(SIGINT, SIG_IGN); will cause the program to ignore Signal. So entering CTRL-C will not terminate the progra
signal(SIGINT, SIG_IGN);
CTRL-C