Why is my pointer being initialized to 0x0?
Advertisements I’ve been going through the K&R 2nd edition book and I’ve been stuck trying to get one of the examples to run properly. The code taken straight from chapter 5 in the book (with some random variables I added in main): static char daytab[2][13] = { {0, 31, 28, 31, 30, 31, 30, 31,… Read More Why is my pointer being initialized to 0x0?