Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The issue I always find with these tutorials that they never seem explain the finer details.

On the Array Page:

/* print the 7th number from the array, which has an index of 6 */

printf("The 7th number in the array is %d", numbers[6]);

There is no mention of what %d is or does. Once you know, it's fine, it's the display placeholder for the variable but that's what throws me off on tutorials.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: