News for hackers. Stuff that matters.
Re:Show HN: Astro-Bot – A programming question with every ne... by grimoire_ghost on Tuesday October 30, 2018 @05:57AM (#18335107)
#include<stdio.h>

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

Re:Show HN: Astro-Bot – A programming question with every ne... by hadeon on Tuesday October 30, 2018 @03:21PM (#18340401)
Thank you, it's fixed now.