For the Life, the Universe and Everything exercise I was getting SIGCONT runtime error.
The following is my code. I am not sure why this happened. I read the article on Input and Output but it couldn’t help me.
#include <stdio.h>
int main() {
int number;
do {
scanf("%d", &number);
} while (number != 42 && printf("%d\n", number));
return 0;
}