Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int n = 4;
- char t[n][n];
- for (int i = 0; i <= n - 1; i++) {
- for (int j = 0; j <= n - 1; j++) {
- t[i][j] = '*';
- }
- }
- for (int i = 0; i < n; i++) {
- for (int j = 0; j < n; j++) {
- printf("%c ", t[i][j]);
- }
- printf("\n");
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment