C Programming Tutorial 52 - Logical Operators

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

In fact there is an operator XOR in C, it is a '^' character. Example:

#include <stdio.h>
#include <stdbool.h>
int main(void)
{
bool A = true;
bool B = true;

printf("%d\n", (A ^ B));
return 0;
}

tiagodmota
Автор

For ages I’ve struggled to get my head around XOR properly. If only someone had said to me it’s ice cream or cookies years ago!

adamhigginson
Автор

Thank you so much! Helped me pass my exam in C!

papst
Автор

You're awesome Caleb, I started leaning C on the 21st of October through Udemy, but l must say you make coding super super lovely to learn and understand bro!

emmanuelkaome
Автор

Thanks! Helped me recall some topics. :)

yashagrawal
Автор

These videos are awesome, and that’s the truth! Keep up the amazing work.

PunmasterSTP
Автор

Not gonne lie that chalk is really writing on that board crispily, is it Hagomoro?

wanitooo
Автор

Great explanation in these new videos!

ibrahimpatel
Автор

i hope u will keep making videos fast like this xD ...just thank

uyscuti
Автор

A XOR B:

(A OR B) AND !(A AND B)

(:

roraraptor
Автор

Hi. I've got a C programming Assignment that is asking me to, "Discuss using suitable programs the functions and application of the *Advanced Logical Operator* " Please help

mellivora
Автор

Wait. That XOR wouldn't be working.

If both are false, they are equal, but XOR would return false where as != would return true.

Amuny