SyntaxFix
Write A Post
Hire A Developer
Questions
For initializing 'normal' data types (like int arrays), you can use the bracket notation, but it will zero the values after the last if there is still space in the array:
// put values 1-8, then two zeroes int list[10] = {1,2,3,4,5,6,7,8};