Logical Operators in C
Vložit
- čas přidán 27. 08. 2024
- C Programming & Data Structures: Logical Operators in C
Topics discussed:
1. Types of logical operators in C:
a. AND operator.
b. OR operator.
c. NOT operator.
2. Concept of short circuit in logical operators.
3. Example codes of logical operators.
C Programming Lectures: goo.gl/7Eh2SS
Follow Neso Academy on Instagram: @nesoacademy(bit.ly/2XP63OE)
Follow me on Instagram: @jaspreetedu(bit.ly/2YX26E5)
Contribute: www.nesoacademy...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy...
Website ► www.nesoacademy...
Forum ► forum.nesoacade...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CProgrammingByNeso #CProgramming #LogicalOperators
Believe me u r the best teacher ever available on CZcams for learning C
Butter lite
Ya i know he is best
Saurabh shukla sir also 👌
C became very easy to understand . Thank you so much .🙌
💯 True
I can bet no one can explain these concepts in this much ease.. I have watched some other youtuber videos of these topics but ur explaination and examples are much easy to get..
I am glad I have found this beautiful channel very early,I searched a lot of channels but never satisfied with those explanation,but your teaching and presentation is so wonderful and very beginner friendly
now I am enjoying c language...................all thanx to u Neso academy
you are the great teacher i have ever seen on youtube ...very beautyful technique of teaching in a great way salute your
after watching this my all doubt is clear in logical operator
sameee
Sir, I want to appreciate you. You are the best teacher I ever seen in CZcams.
I am paying fees for c language in my college but i did not understand (deep learning what is real concept behind the all operators work), but this channel i got everything what i needs , all concepts behind c programme is clear , thank you so much sir one of the best teacher for c language in you tube.....👍👍👍🙏
HAVE YOU LEARNED ALL THE CONCEPTS OF C LANGUGE...😕
in "short circuit in case of OR" if we put (b++) before (a>b) then (++b) will be evaluated and value of b will become 4
* b++
What is a =! b ???
Can any one help ???
@@nikhilmhaske7206
If *b is TRUE* then *a is FALSE,* otherwise *a is TRUE.*
*Note:*
FALSE denotes 0.
TRUE denotes non-zero value.
No words to express your teaching it's really really awesome
sir you're way of teaching is really nice and easy thanx for the video sir
Janvi Sharma lojuhhjdmkdkiidkrkkrorieireorkrororrororrririiekjdkdoriiiiįo
Good explanation
Give us full one tutorial video in C , C++ and Java
Thank you 👍
Strongly agree with you sir
First time got to like you hardworking teacher
Proud on you
Your rexplanation was very enlightening . Thank you so much for sharing this, it was really useful.
you deserve n Million subscriber and like.legend you are bro! from Bangladesh.
man thank you you explain better than other videos thx
Sir you clear the concepts on a hyper level.
Sir agar app yahi chij Hindi me explain kiye hote to ajj Mera dil bhi apko dua deta rehta 🙂
in the short circuit of OR operator the b value still gets incremented. compiler checks it and incremented the value.
I'm learning python. But after watching your channel I've an inclination to learn C :D
Very helpful video
You are a very good teacher sir
Neso Academy you are the best and sir you are teaching wonderful.
Thnk you for explaining in such a way that I made my confusion clear 😇
Wow, So in depth knowledge,Thanks!!
wonderful explanations. what do i do to obtain some practice exercises of yours?
thanq you sir ..your teaching method is so good
How i wish you were programming lecturer when i was in india
Sir i really like your videos the way you explain is just😍😍
Every college student must see this lecture before the examination.
👏👏👏 thank you
What everyone saying is actually true .Sir you have really clear every concept on this topic
best explanation possible. thankyou sir 🙂🙏
the best lecture for logical operator and first time got to short circuiting exists in c also
Great video
Sir upload more lectures your students are waiting........
Very helpful 👍 teacher i like this teacher
Best Explanation and very nice
Comments for myself: Short circuit is when other expressions will not get evaluated anymore since the return value from the operator is already in its final form e.g. || finding a true expression. If an expression returns a value other than 0, then it is considered true (yes even if it returns negative value).
very nice tutorial
Good work. Thanks.
there was exactly a similar question in GATE 2021 CS 1st paper , Thanks to NESO.
on short circuit concept.
hey brother , have you qualified GATE exam or not....
Nice sir 👌
You are good teacher.
You are Genius Sir ❤.. Hat's off 🙏
Crystal clear explanation dear sir 🔮🔮🔮🔮🔮 ❤❤❤❤❤
I regret I missed your videos 😢
Thank you so much. I want to download this.
Thank You sir❤
#include
int main() {
// Write C code here
int a=5, b=3;
int inc;
inc=(a
THANK U SO MUCHHHH GOT MY DOUBT CLEARED
Excellent video. Thank you!
One of the best explanations
Thank you sir
Thank you . I learnt it v well . 👍
Finally thank u so much!
Mam , I am your Big fan ❤️
Thank you boss
can we use arthimatic operators as the condition. for example the condition is c=a+b. i declared the integers and assigned them a value. yet there was a compiler error
Use (==) cause = is assignment operator and not relational
You teach the Best.... hats off sir
Thanx
Thank you sooo much
Nice explanation sir.
Holy wow this was explained so well Thank you for your service 👏🏽
Outstanding sir
Good Explanation ❤️
U write printf("%d",b); cant we also or when do we write printf("b=%d",b); Whats the difference ???
😂 Bro you should start programming from the basics first 😂
Thank you
int a=5; b=-20;
int incr=(a
a = 5, b = -20
incr = (a
Thank you for the session very useful vdo for me 🙏😇💕
Fan bangaya sir💟💟💟💟
Thank you sir I am easy to understand.
That very clear thanks
Nice bro
So simple yet so confusing. My head hurts.
How do we know when to apply the concept of short circuit and when to evaluate all conditions respectively
Hats off
Thankyou very much Sir
Thank you so much for give such a nice lecture
Given i=4, j=-1, k=0
y=i+5 && j+1 || k+2
Why the output is 1?
Use the concept of associativity 👍
Because k+2 is TRUE
sir update videos Sir plz our placement start from July sir plz make videos with some speed...
Thank sir
You can check my lectures if you really want to learn coding.. Check my video of logical operators.
Thank You !!!
hello sir,,, thanks for this impotant video
🎉🎉🎉🎉🎉🎉
So logical operators are logical connectives/ quantifiers that express relationships between statements?
Yes
8ymr73u 4 ynrnf
Dhj
Hdhh
R
Ur
Rh
hh5rdgrkthrugd
Hg
Nkwrjheyurrwluuqeqeuur7e7yu4q2u4iqrqruquqrrqèqgr
They are great ! Vedios.
cout
printf("so true");
Thanks it helped me a lot
So these statement can only render true and false?
very clear ..thanks bro
Nice explanation 👍😊
at 9:24 what if b was -1 then by increment it will become 0 so condition will be true or false?
True
Shortcut method for Not operator is not Explained sir .. why??
Good videos, keep this UP!!
Thank you so much :)
What a concept🙌
Thankyou
Plz video give on file handling concept with examples
5:10
Thank you so much sir
b++ should give four in incr variable expression
Pos penyopojouoBjkHavia givlg
Please tell me ,,,reference book for analog electronics which you prefer
wow that was really clear
SIR, in OR logical operator in the given example, when I put all the condition is false but still, it shows a print statement .why?