Skip to content

Instantly share code, notes, and snippets.

@lasarus
Created August 23, 2014 21:08
Show Gist options
  • Save lasarus/92b371813738c0a9c4f9 to your computer and use it in GitHub Desktop.
Save lasarus/92b371813738c0a9c4f9 to your computer and use it in GitHub Desktop.
Find the bug
#include <stdio.h>
int main()
{
unsigned int i;
int array[4] = {40, 20, 40, 10};
for(i = 3; i >= 0; i--)
printf("%i\n", array[i]);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment