objective c - What does it mean when you declare a variable with two sets of square brackets? -


i've came across like

float a[4][5]; 

i know 1 pair of square brackets after variable declares c-array, 2 pairs do?

that 2 dimensional c array 4 columns , 5 rows of floats. can access individual values going a[x][y].


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -