Interview Questions and Answers :: Brocade
Home > Experience Archives > Brocade > Interview Question Set 4 > Discussion
9. He wrote one program and asked output of it.
void main(){
int i=1,j=2,k=3;
if (++i || j++ || --k)
printf("%d %d %d",i,j,k);
}
Answer:
2 2 3