Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Astro-Bot – A programming question with every new tab.
int main() { int array[] = { 1, 2, 3, 4, 5}; int *ptr; ptr = a; ptr++;
return 0;
This won't compile, but the answer says it should be 2
int main() { int array[] = { 1, 2, 3, 4, 5}; int *ptr; ptr = a; ptr++;
}This won't compile, but the answer says it should be 2