Look at this code
Code:for (a=0; a<10; a++) { printf ("%d",matrix1[a]); }For the 1st code i get 10 zeros which are the matrix contents.Code:for (a=0; a<10; a++); { printf ("%d",matrix1[a]); }
For the 2ond code I dont get an error but a "4006960"
In what is the for function transformed if you put a ";" in the end?