Array

Is this an ok way to initialize an array?

 
int array[] = {1,2,3,4};
Last edited on
Thank you.
Topic archived. No new replies allowed.