Question about basic pointers in C (I think)
📰 Reddit r/learnprogramming
I'm trying to learn C and going through the Yale notes on data structures . The program 'mysteryChange.c' in the debugging section has me scratching my head. Here's the full thing: #include #include #include int main(int argc, char **argv) { int x; int a[10]; int i; x = 5; for(i = -1; i < 11; i++) { a[i] = 37; } assert(x =
DeepCamp AI