#include <stdio.h>
#include <stdlib.h>
void teste1(float t1[4][2]) {
for (int i = 0; i < 8; i++) {
printf("%f\t", t1
[i
% 4 ][i
/ 4]); }
}
int main() {
float t1[4][2];
for (int i = 0; i < 8; i++) {
t1[i % 4][i / 4] = i + 1;
}
teste1(t1);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnZvaWQgdGVzdGUxKGZsb2F0IHQxWzRdWzJdKSB7CiAgICBmb3IgKGludCBpID0gMDsgaSA8IDg7IGkrKykgewogICAgICAgIHByaW50ZigiJWZcdCIsIHQxW2kgJSA0IF1baSAvIDRdKTsKICAgIH0KfQppbnQgbWFpbigpIHsKICAgIGZsb2F0IHQxWzRdWzJdOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCA4OyBpKyspIHsKICAgICAgICB0MVtpICUgNF1baSAvIDRdID0gaSArIDE7CiAgICB9CiAgICB0ZXN0ZTEodDEpOwogICAgZ2V0Y2hhcigpOwogICAgcmV0dXJuIDA7Cn0=