C_19 Operators in C - Part 7 (Bitwise Operators-II) | C Programming Tutorials

  Рет қаралды 250,870

Jenny's Lectures CS IT

Jenny's Lectures CS IT

3 жыл бұрын

This video is Part-II of Bitwise Operators video. In this video we will discuss all the remaining Bitwise Operators (part 2).
Best C Programming Tutorials : • Programming in C
*******************************************
Connect & Contact Me:
My Second Channel Link: bit.ly/354n7C7
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/profile/Jayanti...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
*********************************************
More Playlists:
C++ Programming Tutorials: • Lec 1: How to Install ...
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Python Full Course: • Python - Basic to Advance
Printing Pattern in C: • Printing Pattern Progr...
Dynamic Programming: • Dynamic Programming
Operating Systems: // • Operating Systems
DBMS: • DBMS (Database Managem...
#cprogramming #jennyslectures #programming #clanguage #operatorsinc

Пікірлер: 293
@familybest3011
@familybest3011 3 жыл бұрын
You are my angel teacher mam.I learnt this in previous year but I got clearity mam.I never forget you mam.Thank you so much mam🙏🙏🙏🙏
@user-uu6xe5rx5m
@user-uu6xe5rx5m 2 жыл бұрын
I am always saying your explanation is amazing your teaching skills are excellent
@chinweijeomaijy
@chinweijeomaijy Жыл бұрын
I am screaming Jenny to the shortcut. Thank you so much ma'am. You are indeed a blessing to me. My gratitude
@Constantine808
@Constantine808 2 жыл бұрын
Mam your teaching method is so nice I’m able to grab this bitwise operator concept very vividly.
@AlishaMulla-xx2vt
@AlishaMulla-xx2vt 10 ай бұрын
thank you so much ma'am ,i've been trying to understand bitwise operator from so long but simply get confused ,you made it so easy .couldn't thank you enough🥰🥰🥰🥰
@herteert299
@herteert299 Жыл бұрын
Your courses are the best on internet, the best teacher. Thank you so much. from France.
@shrur3527
@shrur3527 2 жыл бұрын
dear mam thank you will be very less for your videos , praying for all happiness n success to u n to ur family , i m benefited a lot by your videos , you are an excellent teacher
@sailendrachettri8521
@sailendrachettri8521 3 жыл бұрын
Now my all doubt is clear Thank You mam :)
@misturaojulari9707
@misturaojulari9707 Жыл бұрын
Your existence is a blessing 😘 ma'am. Thank you so much for the explanation.
@AbhijitRoy-ub8nu
@AbhijitRoy-ub8nu Жыл бұрын
Great explanation mam. I really like it. Your intelligence and Beauty both are sky rocketing.
@derek2554
@derek2554 3 жыл бұрын
the way of ur teaching is awesome
@kgf2scene
@kgf2scene 2 жыл бұрын
mam you best from my all c teachers . i saw your all videos and inspiration from your video love you mam and make new best videos on c language .
@tithighosh2169
@tithighosh2169 3 жыл бұрын
Great job ma'am.❤️❤️
@workaholic..
@workaholic.. 2 жыл бұрын
You and your explanation both are really impressive
@kalyanirani2942
@kalyanirani2942 2 жыл бұрын
I watched many vidoes on bitwise operators you cleared my doubts😁
@amarnathsivalingam754
@amarnathsivalingam754 Жыл бұрын
a=10; (a+1)1; \\ result 6 ~(a+3); \\ result -14 i wrote the program and got these results and verified it to be right using manual calculations also.. (it did took too long to do the manual calculations.. ) But thanks to you for teaching a new method for calculation. Wishes from chennai.
@joysamuel2995
@joysamuel2995 11 ай бұрын
Hloo
@kamal_2006
@kamal_2006 11 ай бұрын
Explain it briefly
@richards8160
@richards8160 10 ай бұрын
@@kamal_2006 a=10; (a+1)
@kamal_2006
@kamal_2006 10 ай бұрын
@@richards8160 🙏
@blaze102
@blaze102 9 ай бұрын
​@@richards8160last wala bata bhai😮
@durgalankipalli2541
@durgalankipalli2541 2 жыл бұрын
1-Ans: 44, 2-Ans: 6, 3-Ans: -14[Computer method], 2[logical method]
@VenkatsundharSpBEC
@VenkatsundharSpBEC Жыл бұрын
which one should we consider during pseudo code calculation
@SKSidhu-fs5dh
@SKSidhu-fs5dh 11 ай бұрын
Mam thanks for your lectures of computer programme.I have cleared so many doubts.
@redrose5950
@redrose5950 3 жыл бұрын
Mam your explanation is superb, thank you so much for your hard work. Please complete your beneficial and significant lectures of C programming on Pointers in detail, Recursive Functions of all types in C. THANK YOU MAM.
@manpreetkaur-dk5mm
@manpreetkaur-dk5mm 2 жыл бұрын
Thank you mam, you really a very nice tutor.
@payalpatidar2566
@payalpatidar2566 Жыл бұрын
Your explanation is too good 👍
@mijanurrahman3091
@mijanurrahman3091 3 жыл бұрын
I appreciated that video very much mam. Thank you. May Allah blesse you.
@srinjaydas9144
@srinjaydas9144 2 ай бұрын
Thq so much Jenny maam,u cleared my doubt completely.Thx for mentioning the part that we'll be getting different values while calculating and while printing nd with proper reason that while printing, 2's compliment will e used.Thx a ton ma'am, U r indeed a real gem to this CSE field.
@K.CharanSaiSrinivas
@K.CharanSaiSrinivas 9 ай бұрын
you and your explanation are outstanding mam
@chetnajain9123
@chetnajain9123 2 жыл бұрын
You are so amazing .... Thank you 😊 mam...
@techn5404
@techn5404 3 жыл бұрын
Great work ma'am
@daisonmwanyali7430
@daisonmwanyali7430 Жыл бұрын
thank you soo much.. you are a great mentor
@redrose5950
@redrose5950 3 жыл бұрын
Superb lecture 👏
@suhaskumar1992
@suhaskumar1992 2 жыл бұрын
mam do you know what you are GOD a single word thank you doesnot enough for your hardwork and explanation. thank you(infinte times).....
@shakilsn786
@shakilsn786 3 жыл бұрын
Mam please make vidoe for sign magnitude video..it's helpful for us....we get clearity of why 2s complement are good than other like sign magnitude and 1s complement
@gauravk8438
@gauravk8438 2 жыл бұрын
points to be added : 1- if number of bits are negative or greater than or equal to promoted operand will give undefined behaviour e.g 1 = x>> -4 (undefined behaviour) 2 = if x is char (memory allocated for char in 32 bit system is 1 byte) char x = 96; x
@isaac-victorshonowo1838
@isaac-victorshonowo1838 9 ай бұрын
Watched and understood ❤
@lokmanbist4279
@lokmanbist4279 Жыл бұрын
Thank you, mam. You are the best .
@CodeMantraByShubh
@CodeMantraByShubh Жыл бұрын
MAM , I LOVE YOUR TEACHING WAY ......,/.,.....
@nutstheblackswordsman5931
@nutstheblackswordsman5931 5 ай бұрын
Thank you very much Ma'am!
@shivamjha6580
@shivamjha6580 2 жыл бұрын
Great video 👍
@THETHIRDEYEjoji
@THETHIRDEYEjoji Жыл бұрын
Thank you from Kenya maam
@yashkakkad1185
@yashkakkad1185 2 жыл бұрын
Cutely explained!!!!
@williamowusu7778
@williamowusu7778 9 ай бұрын
Jenny to the world and beyond 🙏
@cjdr4075
@cjdr4075 Жыл бұрын
Thanks alot ma'am... 6:45 value of a is still 10 ma🙇‍♂... 15:39 int a = 10; (a+2) >> 2 is 6
@itsamazing3223
@itsamazing3223 Жыл бұрын
Ha bro i also got same
@Chigo-nr8jg
@Chigo-nr8jg Жыл бұрын
nah, should be 3
@gopalhamilpur3784
@gopalhamilpur3784 3 ай бұрын
excellent teaching 👏👏 👌👌
@devashishrazzsingh6913
@devashishrazzsingh6913 3 жыл бұрын
Kaas mere Institute me bhi aapke jaisi lecturer hoti 😍
@aartisharma8412
@aartisharma8412 3 жыл бұрын
Beautiful video by beautiful mam
@yashhokte1020
@yashhokte1020 2 жыл бұрын
15:30 So mam here is the answer of that last three question : 1) (a+1)1 12/2*1 6 3) ~(a+3) ~((a+3)+1) -(14) Now by using normal method : The binary of (10+3) = 13 is 1101 so when we invert all the bits so finally we get : 0010 and its decimal value is 2 . So the calculative answer of 3rd one is 2 and in programming world it will give -14 answer. Thankyou so much mam...
@mechile_pakki
@mechile_pakki 2 жыл бұрын
Binary of 13 check?
@pinjarialeema6778
@pinjarialeema6778 Жыл бұрын
Can u tell me mam y used 8 bits reprentation?
@tejeswar5925
@tejeswar5925 Жыл бұрын
@@pinjarialeema6778 It's not actually 8 bits(1 byte). Its 32-bit representation as each int variable takes 4 bytes of memory.
@palanisamyj2315
@palanisamyj2315 10 ай бұрын
​@@pinjarialeema6778cause 8bit is 1byte
@palanisamyj2315
@palanisamyj2315 10 ай бұрын
Bro took half an hour to do this and this vid is only 15min 👏😂
@AnkitGupta-gt5pc
@AnkitGupta-gt5pc 3 жыл бұрын
Thank you👍
@afraimlevi9871
@afraimlevi9871 Жыл бұрын
Love and appreciation
@anurag_gtm_banking
@anurag_gtm_banking Жыл бұрын
Good morning mam, I am attending your lectures on youtube daily. I am preparing for the NIElLIT exam for a Technical assistant. Please guide me regarding this.
@tps8470
@tps8470 2 жыл бұрын
Thanks a lot Mam
@Ghost-vc7ng
@Ghost-vc7ng 2 жыл бұрын
Thank you for this wonderful demonstration. I've one question though. When we shift the numbers and all what we allowed to use is (max 8 bits) I've this in my exam. Will the output be ( - 96) bcz it started with 1 or it will be the same? Our teacher told us that we're not allowed 2 use more than 8 bits. So there's no 9 bits ( he did that, so that no one could run the code on compiler) so what will be the answer (negative, or positive)?
@yashhokte1020
@yashhokte1020 2 жыл бұрын
Bro when you have 8 bits n so you have the maximum limit of 255 because the maximum calculation of 8 bits is 255 then why r uh asking like that will it give -96 or not ??
@newplaylist-oc3kx
@newplaylist-oc3kx 2 жыл бұрын
best trick mam l like it mam.😊😊😊
@ancharavali5293
@ancharavali5293 2 жыл бұрын
maam u r smile is very beautiful at the ending of the video
@rajniyadav1814
@rajniyadav1814 3 жыл бұрын
Thank you mam
@ujalakumari8471
@ujalakumari8471 3 жыл бұрын
Thanks maam 😍😍😍😍
@MaheshYadav-dy6uw
@MaheshYadav-dy6uw 2 жыл бұрын
Thank yu mam for clear my confusion related bitwise operator
@gurunanakdanaukar9643
@gurunanakdanaukar9643 2 жыл бұрын
(a+1)
@ajaykanna3297
@ajaykanna3297 Жыл бұрын
52
@Suryakumar.
@Suryakumar. 11 ай бұрын
~(a+3)=6
@user-qm8tk9db2v
@user-qm8tk9db2v 5 ай бұрын
How...-14 is correct??!!
@user-qm8tk9db2v
@user-qm8tk9db2v 5 ай бұрын
(a+2)>>1 = 6..is this correct
@18fatima15
@18fatima15 3 ай бұрын
5:14 #include int main() { int a=10,c; c=a
@tonystark2358
@tonystark2358 2 ай бұрын
I was going to code the same thing, thnx you saved my time
@poojithamarneni4622
@poojithamarneni4622 2 ай бұрын
mail { int a=4,b=2; a=b2; print("%d",a); } Please exaplain this code and whats the output
@KenshiSeriouss
@KenshiSeriouss Ай бұрын
@@poojithamarneni4622 first of all It's printf("%d",a); You didn't write f ... And the output is 2048
@rubanaali3360
@rubanaali3360 2 ай бұрын
Thanks diii ❤
@mohithdevarashetti3687
@mohithdevarashetti3687 2 жыл бұрын
Nice teaching
@CurvyCraving
@CurvyCraving 3 жыл бұрын
Thank u di ❤
@althafbashamohammad7551
@althafbashamohammad7551 Жыл бұрын
Thank you so much mam
@sumedhnagrale6997
@sumedhnagrale6997 2 жыл бұрын
Throughout the video she's serious and at the end of the video, she's smiling. And that damn smile makes us satisfied as well. Thank You, Mam
@HM-ol5lz
@HM-ol5lz 2 жыл бұрын
True....
@chethanprasad514
@chethanprasad514 2 жыл бұрын
Thank u very much mama
@ececse
@ececse Жыл бұрын
thankyou ma'am 🙏🙏
@kanhaiyamittal4451
@kanhaiyamittal4451 Жыл бұрын
~( a+3) : is -14 ( as per mam logic ) But compiler says it's -13
@mayukhsen6910
@mayukhsen6910 Жыл бұрын
compiler is showing -14,,Vscode shows it,,what compiler are u using?
@user-mf4xm4vy3v
@user-mf4xm4vy3v 11 ай бұрын
-14 is showing
@jinandtakhellambam5179
@jinandtakhellambam5179 2 жыл бұрын
very intersting
@hassanibakary8042
@hassanibakary8042 3 жыл бұрын
best one
@aravind..9483
@aravind..9483 3 жыл бұрын
Very well said madam🙏
@purehaqeeqat1915
@purehaqeeqat1915 3 жыл бұрын
Nice
@harshal511
@harshal511 2 жыл бұрын
Good... mam
@rajkumarchavan8457
@rajkumarchavan8457 Жыл бұрын
Thanks
@nakachewaschalew2975
@nakachewaschalew2975 2 жыл бұрын
thak you mam do more on c++
@Krusite
@Krusite 3 жыл бұрын
Nyc 👍
@snjsns3671
@snjsns3671 2 жыл бұрын
thnku and love u mammmmmm
@geethak8810
@geethak8810 Жыл бұрын
the output for c=40,a=10 mam
@DineshKumar-uu5pr
@DineshKumar-uu5pr 3 жыл бұрын
Thanking you dear mom
@Shivam05681
@Shivam05681 Жыл бұрын
value of c is 40 and a is 10. value of a is not altered in first example. left shift operator.
@shivasmart967
@shivasmart967 Жыл бұрын
tq mam
@meghanakondeboina4808
@meghanakondeboina4808 Жыл бұрын
1. 44 2.7 3.-14 Tq🙂
@forgedinstudies5853
@forgedinstudies5853 3 жыл бұрын
Does the Unacademy offer provides certification ?..... Will enroll if provides. I am from IIT BHU(CS)
@HariRam-ik8xz
@HariRam-ik8xz 2 жыл бұрын
44 6 -14 O/P respectively
@adedokunolaitan4376
@adedokunolaitan4376 2 жыл бұрын
After shifting a and giving the value to c, I printed the value, a still remains 10. Is shift supposed to operate at the memory level?
@cnagendra1788
@cnagendra1788 7 ай бұрын
yaa superb
@nitish2001nb
@nitish2001nb 3 жыл бұрын
Done mam👍.
@RidwanShotonwa
@RidwanShotonwa Жыл бұрын
Wow!
@karthikgs1884
@karthikgs1884 7 ай бұрын
mam can we count number of ones using left and right shift operator??
@kjnk4342
@kjnk4342 Жыл бұрын
Hi,This Naresh.Why we need to take 8 bit format while shifting ?
@nikhilbarde5099
@nikhilbarde5099 3 жыл бұрын
First comment 💯💯⭐
@purehaqeeqat1915
@purehaqeeqat1915 3 жыл бұрын
I am from Pakistan.I am the first that see every first.
@nirzarmiyatra9772
@nirzarmiyatra9772 3 жыл бұрын
Sir maybe aap galat jagah par aa gaye he , haya par sirf programming sikhai jati he.
@HafizAbdullahInami
@HafizAbdullahInami 3 жыл бұрын
May Allah give development to this channel
@RashidKhan-wj7cp
@RashidKhan-wj7cp 2 жыл бұрын
If we take a=21 and we perform a
@deerghaneja1217
@deerghaneja1217 2 жыл бұрын
Yes
@sensor1988
@sensor1988 2 жыл бұрын
thanks a lot Jenny for all your explanations but i have a doubt. Ex : int a = 10, a you said output is 160? is it correct because 160 can not be stored in 8 -bit size as the limit is [-128, 127], Correct Output = -96 right
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 2 жыл бұрын
But while doing the program the ans is 160 only ? I am also having the same doubt 🤔
@DharmendraKumar-kq2ul
@DharmendraKumar-kq2ul 2 жыл бұрын
@@ParamitaDey-bi1mg but mam the max number we store 2^8=(0-255). And aur output is only 160.
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 2 жыл бұрын
@@DharmendraKumar-kq2ul But 0-225 is for unsigned character and for signed it is from -128 to 127... But now I am having another doubt that int a =10 is integer not character then why these kind of questions are arising ?🤔
@udaysingh6621
@udaysingh6621 Жыл бұрын
@@ParamitaDey-bi1mghere, variable a is a signed int and it's range is -32768 to 32767, so 160 is accepted
@abdulrahimjalloh363
@abdulrahimjalloh363 11 ай бұрын
The first example of bitwise
@user-og2lt8ou8i
@user-og2lt8ou8i 3 жыл бұрын
𝙂𝙧𝙚𝙖𝙩 𝙢𝙖'𝙖𝙢, 𝙨𝙤 𝙝𝙚𝙡𝙥𝙛𝙪𝙡 𝙫𝙞𝙙𝙚𝙤𝙨 𝙮𝙤𝙪 𝙢𝙖𝙠𝙚..
@d.harikrishna9161
@d.harikrishna9161 Жыл бұрын
Mam in this lift shift operation example In that u taking c=a
@nirzarmiyatra9772
@nirzarmiyatra9772 3 жыл бұрын
Mam kya aap JAVA ke liye alag se ek series bana sakte he ?
@avreddy5575
@avreddy5575 3 жыл бұрын
if we add hexadecimal values like 0x56
@SaiPrasad19940
@SaiPrasad19940 2 жыл бұрын
Medam simple tricks and set a bit, clear a bit ,invert and in detail explain medam plzzzzz
@rakeshraokarangolla5770
@rakeshraokarangolla5770 3 жыл бұрын
Make videos on c++ also na plz love Uu
@vikramprasad6785
@vikramprasad6785 2 жыл бұрын
Superb Madam....Madam...I didn't understand bitwise not operator...How 10 is equal to -6 ?
@harshavardhan6372
@harshavardhan6372 2 жыл бұрын
What is the reason to use 4 bits for 5 instead of using 3 bits whose binary form is 101
C_20 Operators in C - Part 8 | Comma Operator |  C Programming Tutorials
18:27
Jenny's Lectures CS IT
Рет қаралды 174 М.
C_18 Operators in C - Part 6 | Bitwise Operators |  C Programming Tutorials
15:21
Jenny's Lectures CS IT
Рет қаралды 393 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 5 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 18 МЛН
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 126 МЛН
Left and Right Shift
4:14
Mr Powell's Computer Science Channel
Рет қаралды 254 М.
C_05 Structure of a C Program | Programming in C
21:14
Jenny's Lectures CS IT
Рет қаралды 956 М.
Bitwise Operators and WHY we use them
8:41
Alex Hyett
Рет қаралды 62 М.
C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials
17:02
C_10 Data Types in C - Part 1 | C Programming Tutorials for Beginners
19:50
Jenny's Lectures CS IT
Рет қаралды 598 М.
C bitwise operators 🔣
6:47
Bro Code
Рет қаралды 63 М.
Bitwise Operators in C (Part 1)
7:52
Neso Academy
Рет қаралды 760 М.
#15 Python Tutorial for Beginners | Python BitWise Operators
12:42
C_43 Need of Nested Loops in C | Nested For loop in C
18:31
Jenny's Lectures CS IT
Рет қаралды 609 М.
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 5 МЛН