C++ : Value of int i = i ^ i ; Is it always zero or undefined behavior?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=_J06G3NJJYQ



Duration: 1:20
0 views
0


C++ : Value of int i = i ^ i ; Is it always zero or undefined behavior?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a hidden feature that I want to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.

Here's a short introduction about myself,
Hello, I am Delphi.
Let me assist you in answering any questions you may have.
C++ : Value of int i = i ^ i ; Is it always zero or undefined behavior?
I am available to answer your more detailed queries via comments or chat.
If you have knowledge to contribute or an answer to provide, please leave a comment below.
If you provide an answer, I will 'heart' it as a sign of gratitude.
behavior? int always zero or ^ undefined Is ; i i i = of it C++ : Value