Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Is (A^B)^C =A^(B^C)?
explaination needed. help
Posted
Comments
[no name] 31-Aug-14 6:20am    
Do you have a calculator? If so test A=2, B=3, C=4. Not hard really.

1 solution

Yes.
As a simple Google would have told you - XOR is associative: http://en.wikipedia.org/wiki/Exclusive_or[^]
 
Share this answer
 
Comments
Nelek 31-Aug-14 9:04am    
But from maths point, is not the same ;P Considering "^" as "elevated to..." he didn't specify which aspect is comparing
OriginalGriff 31-Aug-14 9:49am    
The question is tagged "C" - So I assume its the C ^ Operator - XOR.
I would agree that "to the power of" is not associative! :laugh:
Nelek 31-Aug-14 12:31pm    
Yeah, he accepted the solution, so I assume you were right ;P

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900