Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I found out how to solve the array index problem!!!!

Name: Anonymous 2017-09-06 20:34

void main (){
int numbers[10] = {1,2,3,4,5,6,7,8,9,10};
int *array = &numbers[-1];

printf("%d\n", array[4]);
return 1;
}


Output: 4

Name: Anonymous 2017-09-11 16:29

>>12
Compile with -w and no -Werror.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List