What is the operation symbol "^" do?
- From: "boki" <bokiteam@xxxxxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 17:45:46 +0800
#include "stdafx.h"
int main(int argc, char* argv[])
{
int a=2;
int b=7;
printf("%d",a^b);
return 0;
}
answer is 5, but I don't know what is it doing....
Best regards,
Boki.
.
- Follow-Ups:
- Re: What is the operation symbol "^" do?
- From: Jochen Kalmbach [MVP]
- Re: What is the operation symbol "^" do?
- Prev by Date: Re: What is meant by static type and dynamic type of same object?
- Next by Date: Re: Stealth activation of exe upon right-button -down event?
- Previous by thread: no default operator ==
- Next by thread: Re: What is the operation symbol "^" do?
- Index(es):