Interview Questions

Software Design Engineers in Test - OUTPUT

Software Design Engineers in Test SDET FAQ


(Continued from previous question...)

9. Software Design Engineers in Test - OUTPUT

Question:
OUTPUT
main()
{
int j=32242,k;
k=find(j);
}
int find(int j)
{
if(j>0)
{
j=(j%10)+find(j/10);
printf("%d",j);
}
return j;
}


Answer: 3 5 7 11 13

(Continued on next question...)

Other Interview Questions