Thanks ubzen ... :-)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
I am reading a source code to an indicator that I'm trying to understand, where there is a strange mix of the && and || operators, i.e. it uses these operators together in one statement without clarifyint it with brackets. I've tried to find information about which operators has higher priority, but I haven't been able to find it, so now I ask you. The statement that I'm trying to understand something like this:
if (A == 1 && B > C || D == E) {
do something
}
Could you please clarify what happens in this example, i.e. is it ((A == 1 && B > C) || D == E) or should I read it as (A == 1 && (B > C || D == E)) ?
Thanks in advance.
Best regards
G.