Write a C program to print the given 0, 1 square number pattern using loop. C program to print binary number pattern of n rows and m columns using loop. How to print the square number patterns using for loop in C programming. Logic to print the square filled with 1 using for loop in C program.
Example
Input
Input rows: 5 Input columns: 5
Output
11111 11111 11111 11111 11111