Orchid PE
Member? You 'member.
- Joined
- Oct 28, 2019
- Messages
- 6,834
- Reaction score
- 1,620
Programming question of the day. Try to do it all in your head. What value does the function return?
int main()
{
int a, b = 5, c = 5, d = 1;
a = (b++ > c) ? ((b - d++) < c) ? d + c : d + 1 : ((b + ++d) < (c + d)) ? c : (d++);
return a;
}
Since nobody could answer this, I'm going to up the reward points from 1 to 10.