The program begins with a conditional statement if (x 0) ||( y 0)...therefore it gives rise to 2 paths
Lets take a dry run...
lets say a) x 1 y 0; b) x 0 & y 0; c) x 0 y 1; d) x 1 y 1
condition a returns true
condition b returns true
condition c returns true
condition d returns false
Therefore there are actually 2 possibilities hence 2 paths two individual paths for the code..There cannot be any other possibility..
Also if we do a flowchart E 2; N 2 and cyclomatic complexity E-N+2 2
If I am wrong please enlighten me abhi_dendrite