%d specifier inside the printf function means that we're going to display the variable as a decimal integer and %f specifier would display it as a float number and so on. But what does %di specifier does ?
For example,
printf("Division of two complex numbers = %d %di",temp1/temp3,temp2/temp3);