want to find all possible values for given number.(in C language)
my output should appear as (ex- input is 4)
[(1,1,1,1),(1,2,1),(2,2),(1,3),4]
want to find all possible values for given number.(in C language)
===

my output should appear as (ex- input is 4)
[(1,1,1,1),(1,2,1),(2,2),(1,3),4]