Write a C program that will prompt the user to enter an integer and then it will print on the screen all the binary numbers of length n, where n is the integer variable inserted by the user.
Here is an example of how your program should work when you run it:
Please enter a number:
3
The binary numbers of length 3 are:
000
001
010
011
100
101
110
111
Hint:Use a recursive function, instead of nested for loops.