What is the output for the following C code segment? int i; if(printf("0")) i = 5; else i = 3; printf("%d",i);
What is the output for the following C code segment?
int i;
if(printf("0")) i = 5;
else i = 3;
printf("%d",i);From the Combined Bank Assistant Programmer (CSE) March 2021 – Preliminary exam, question 3 of 86.