Question d’entretien chez UBS

Write a program Eg - int[] num = [9] Output - [1,0]