![]() |
solve it and tell me how it works?
main(){
int i = 10, j =20; j = i ,j?(i,j)?i :j:j; printf(“%d\n%d”,i,j); } the answer is 10 10 |
Re: solve it and tell me how it works?
See the use of comma operator and it will be clear why you have that as a answer.
|
Re: solve it and tell me how it works?
Quote:
|
| All times are GMT +5.5. The time now is 06:08. |