Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Vectores: bidimensionales con sizeof
#include <stdio.h> int main (void) { int i, j; short mat[][3]={{1,2,3},{4,5,6}}; for (i=0; i < sizeof(mat)/sizeof(mat[0]); i++) { for (j=0; j<sizeof(mat[0])/sizeof(short); j++) printf("[%d,%d] -> %d\t", i, j, mat[i][j]); printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Printf ejemplos varios
prestupn7 rok
13 12 2014 20:25
Pointer_Indirectare_N
Use of Arithmetic Operator
definice funkce
Punteros: dame tres valores
Bucles: Rombo asimetrico
Euclides 2
Kód
Please log in to post a comment.