I am trying to understand the differences between these array definitions:
abc=[ 0 0 0 0 0 0]
and
abc=[0;0;0;0;0;0]
In C, first definition is
int abc[]={0,0,0,0,0,0};
second definition is
int [6][1]= {{0},{0},{0},{0},{0},{0}};
Am I correct about that?
Is a “row vector”.
Is a 2×2 matrix, because semicolons inside brackets separate rows.
Is a 4×1 matrix, aka “column vector”. It’s a special case of a matrix, really. You can also get it by transposing the corresponding row vector:
(note the quote at the end – this is the transpose)
P.S.: Yes, your interpretation to C is correct in this case.