Bitwise Operators in C (Part 2)
HTML-код
- Опубликовано: 9 сен 2024
- C Programming & Data Structures: Bitwise Operators in C (Part 2)
Topics discussed:
1. Bitwise left shift operator.
2. Example of bitwise left shift operation.
3. Left shift as multiplication by 2 operator.
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 #BitwiseOperators
Slowly working through all your lectures. You have a way of making difficult subjects easy to comprehend. Thank you!
Super helpful! I'm programming some music for my Gameboy, and the low-level operations were giving me some trouble. Now I know what they actually do!
Hey Evan! Sounds super interesting! :) Can you give me any advice or hint how to learn programming music for gameboys? Thanks in advance and have a great day! Piet
it is insane how easy it is to follow your explanations and understand everything that is covered. Huge thanks
Thank you master I have an exam on Wednesday and I didn't know that about multiplication to 2^right operand it will save me much time on test. God bless you
I have been studying c essentials in cisco a while ago. I really got messed up with bitwise operations. Bro your video made it looks so easy! I love it!
Comments for myself: From var
Oh my this is great and I wanna say your setup is wonderful!
I'm sure that is IS THE BEST bitwise operators explanation I've ever encounter ! Thanks dude
Your really amazing
The best utube channel i have ever found
Thank you sir
Your videos are really helpful. Please try to upload 4-5 per week.
THIS IS LITERALLYYY THE BEST ONE I HAVE SEEN SO FARR!!! THANK YOU SIRR !!!!
amazing efforts , thanks
Your academy is doing a great job.Very clear explanation about every topic. Keep it up.
2:34 Thanks for that informative video
super se bhi upper. If I had known about Neso Academy earlier, I would have been in the moon today.
You know what. I really like your accent.
Very easy to understand, sir. Thanks for the video.
Great explanation, Sir! I really appreciate the visual identity of your videos
Can someone explain me, what are the applications of this, while I program?
ALLAH bless you!!
Super lecture sir
legend
play at 1.5 speed
T J nice
Be patient
x2 is gangster mode :-)
@@samdavepollard x2 is one day before exam mode 🤣😂
@@zubinmehta1282 LOL - Good Luck with your studies.
Gud morning Sir ji. 🌄
Dude. You are amazing. Thank you so much
Thank you! This is very useful when programming microcontrollers
It's a lot to think with, but you describe it very well.
Great man
thank you
gold
thankyou
Thank u sirrr for geting my doubtss cleared.
Thank you sir.... You all are doing great work...
holy fuck, i read tons of docs stilldid not understand this, finally thanks dude idk what to say, may god bless you !!!!
THANK YOU SO MUCH ❤️❤️
Thank you so much!
superb
Legend
Sir what hurts me is that i came to know about this channel just a week before my computer exam is on 21 i know its too late still.Although i always followed the electronics of neso(gave a good exam on 16th)but never thought it had C lectures.
Great vdo
excelent explanation!! thank u very much
Rarely taught topic!!!
Sir plzzzzzz add more videos of c like arrays, strings and more
god bless you brother
Thank u so much neso..... From 💕💕
Thank you very much! you made it so simple to understand ^-^
This bit will shift towards this position
Amazing video sir
legendo!
very good video and nice explaining
great as always!
Thanks a lot sir
Can You Please make another tutorial Series about C++, Neso Academy makes great tutorials. Thank you, your Videos Really help.
you are a hero ❤❤🧡🧡💛💛
The best💯🙏👍👍👍👍👍
can somebody answer...after completing this whole playlist will i be able to build games ....and also is this playlist cover all the library present in c
thankssss
Excellent sis ji
Hi neso plz plz provide lectures on analog communication.i listen analog electronic and digital both are very good .Helped me a lot .So plz also provide for communications
Sir, for n=3 when i am using (1
1 * 2^3 = 8
can left shifting be used in a program which converts binary to decimal?
sir what about int x=-2;printf("%d",x>>8);
how we can represent 3 in char we have to represent 3 in int na?
10/10
Gjb sir
Would it matter if you had chosen to declare var as an int rather than a char?
What does 3
thanks, totally demistified this for me.
awesome
WILL THE VALUE GET STORED DEPEND ON THE WHETHER I'M USING A 32- BIT SYSTEM OR 64-BIT SYSTEM? FOR EX- IF I DO 255
i must say people believe youtube only because of such great youtubers
Sir,What if we have a binary representation of a floating point number?
32 bits
What are the applications of bitwise operators?
If var was of integer type then would the result be same?how?
Please teach me how to realize the circuit using nand gate
What if the var = 1000 0011;var
It will ignore a bit
that is called overflow
Please give the proof of this sir it will be very helpful
00:00
In case of number 80 as a first operand n 1 as second operand the formula for the left shift goes wrong
What happen if var = 193 and var
var=48
193
I guess output must be 772. Left shift by 1 is equal to multiplication by 2 and left shift by 2 means multiplication by 2*2=4. Therefore, 193 will get multiplied by 4 = 772.
I understand everything you explained, but cant see an implementation of it.
Answer for the question-8
Can we use 16 =4^2 this is applicable Or not
Here our right operand is 2
formula is not woring for 3
I need your email to communicate with you , Necessary .
why trollinng position get filled by 0
sir i can not understand how ans is 6 plz help
Bro you need to study conversion from binary to decimal system
What will happen if i take..(.i.e. consuming 2 bytes)
00001011 01100001
👌🙏🙏🙏🙏👌👌👌
Notes ?
Make your own notes by buying a pen and a notebook.
🤧
but ASCII code for '3' is 51 man....
gg
#include
// Function to print 8-bit binary representation of a char
void printBinary(char num) {
for (int i = 7; i >= 0; i--) {
printf("%d", (num & (1
Thank you!!
Thank u
Thanks
thank you