Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- //Versao com funcao
- int main(void){
- void funcaoPrint(int x[3][3]);
- int matriz[3][3] = {1,2,3,4,5,6,7,8,9};
- funcaoPrint(matriz);
- return 0;
- }
- void funcaoPrint(int x[][3]){
- int i, j;
- for (i = 0; i < 3; ++i){
- for(j = 0; j < 3; ++j){
- printf("%i\n", x[i][j]);
- }
- printf("\n");
- }
- }
- //Sobre
- //Aula: Funções que Recebem Matrizes (#37)
- //Video: youtube.com/watch?v=t3wDtXpu8ig
- //Data: 13/01/2021
- //Grupo: Heikoa
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement