Separate int ar [2] [2]. The statement said the array or pointer
And
Int ar [2], [2].
Ar [2], [2]={{1, 2}, {3, 4};
There are different
CodePudding user response:
Separate int ar [2] [2]. Is to define an array ofAr [2], [2]={{1, 2}, {3, 4}; Compile pass
Can only be defined at the assignment
Int ar [2], [2]={{1, 2}, {3, 4};
CodePudding user response:
Int ar [2] [3]. Defines a two dimensional arrayAr [1] [2]=5; Array element value assignment