Print in the output the exact pattern provided below 1 1 12 21 123 321 1234 4321 1234554321 in c++ code example
Example: printf("%d", 10 ? 0 ? 5:1:1:12) what will print
printf("%d", 10 ? 0 ? 5:1:1:12)
printf("%d", 10 ? 0 ? 5:1:1:12)