Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<conio.h>
- #include <stdio.h>
- #include <stdlib.h>
- #define _CRT_SECURE_NO_WARNINGS
- void wpiszM(int **tab)
- {
- for (int i = 0; i < 3; i++)
- {
- for (int j = 0; j < 3; j++)
- {
- printf("Wpisz w %d wiersz %d kolumne ", j, i);
- scanf_s("%d", &tab[j][i]);
- }
- }
- }
- int main()
- {
- int M1[3][3];
- wpiszM(M1);
- printf("Hello world");
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement