This is the ultimate source to learn programming in C. I have read many books. I feel that anybody can understand easily watching this video. There cannot be anything better than this. Great job sirg
aaj tak ka sabse acha coding ka channel lga yeh mujhe maine AAJ tak jitne bhi dekhe hai unsab se kyuki sir aap bahut detail mein padhate ho i really love the way you teach sir thank you so much i gonna see the whole playlist of programming c on this channel
Guru ji aagya samjh mai kasam se kal raat ko aache se samjh nhi aaya tha par upun ne haar nhi maani vo aaj mai steve jobs kai baare mai sunaa or mai excited hua or bss lgg gyaa to guruji sayad mikte h kbhii...
Sir I have practiced this bitwise not operator and I have learned that how to do and the formula sir when you explained this video a little bit difficult but in last I you have cleared all the doubts of this video thank you sir for teaching in a very simple way thank you sir.. ❤❤❤💛💚🧡💙💜💝💞
@@AnujkumarVerma-wo5vz skip kr do, utna kam nehi ayega, haa exam ma aa sakta ha...Bitwise operator k lia thoda Number System k bareme pata hona chahiye Baki C programming sikhna ha to Neso Academy youtube channel se sikh lo, Programming ka basic clear ho jayega, jo ki har programming language ma same ha
Dear, u should have knowledge about binary system. Actually in this system every 1 represents 2 and position of 2 from right represents power on 2 after that add each of them together. Here: 1100=2*2*2+2*2+0*0+0=12. Hope u understand.
sir can save in mind memory when x value is 12 so 12+1=13 so now need is this is plus or minus then convert first left binary digit and see this is minus or plus
Sir can u plz explain below code Unsigned char X = 0; Unsigned char y = -1; Unsigned char result = 0; result = +X; Printf(" value of X is %hhu ", X); result = ~y; Printf(" value of y is %hhu ", y); result = +X || ~y Printf(" value of result is %hhu ", result); Output is : value of X is 0 value of y is 0 value of result is 1 When I am assigning value separately to result, output is 0 but same values with OR gate is resulting as 1. How is this working ?
Sir when we add ➕1 in 1's compliment then it become 2's compliment but my question is after adding +1 in 1's compliment then all 0 Becomes 1 but what will happen in 1 that already in 1's compliment
When we take 1's complement of a no then all 0's got changed to 1's and 1's got to 0's and then add 1 to that result by binary addition rules you will find your answer correctly
sir as u tell in ur bitwise NOT operator lecture that in any binary representation if the no. have 1 in MSD then that no. is negative but the binary of 9 is 1001 but this is a positive no. and MSD is 1 also
Ab tak toh sab samaj raha tha , par is video ne bohot confuse kar diya. Frustrate ho gaya hu. Binary no. mein sirf 1 or 0 hote hai ,to iska 2' kaise ayega , kya keh rahe hai sir . Plz help karo mujhe rona aa raha hai. Bohot complex hai , 101 mein 1 ad karne se 110 kaise aya????
2's compelment is a method to store negative binary number. Binary number ka addition decimal ke jaise nhi hota hai, it has certain rules. 1+1=0 but 1 gets carry to the left binary number. Isliye 101+1 me right wala 1+1 to 0 ho gya lekin uska 1 carry ho gya left wale means middle wale me to vo 1 ho gya or sabse left wala to 1 tha hi. Also, in binary addition 1+0=0, 0+1=0, 1+1=0(1 gets carry to left)
This is the ultimate source to learn programming in C. I have read many books. I feel that anybody can understand easily watching this video. There cannot be anything better than this. Great job sirg
Ya...u r ryt
Love u sir❤❤
❤
nice explanation sir g
simple trick to find out the ~12 is just add 1 in 12 as
12+1=13
then add negative sign before it as -13
Thanks
aaj tak ka sabse acha coding ka channel lga yeh mujhe maine AAJ tak jitne bhi dekhe hai unsab se kyuki sir aap bahut detail mein padhate ho i really love the way you teach sir thank you so much i gonna see the whole playlist of programming c on this channel
Finally got the concept of bitwise NOT ~ .
very very thank you sir.
no matter what other channel you watch. This channel is the Greatest Of All Times for C language.........:]
Guru ji aagya samjh mai kasam se kal raat ko aache se samjh nhi aaya tha par upun ne haar nhi maani vo aaj mai steve jobs kai baare mai sunaa or mai excited hua or bss lgg gyaa to guruji sayad mikte h kbhii...
congratulatulation👍👍👍👍
Thank you, sir!
8:21
omg..what an explaination ..awesome sir you nailed it.
Glad you liked it
Sir I have practiced this bitwise not operator and I have learned that how to do and the formula sir when you explained this video a little bit difficult but in last I you have cleared all the doubts of this video thank you sir for teaching in a very simple way thank you sir.. ❤❤❤💛💚🧡💙💜💝💞
Thanks alot Sir 99%adopt ho gya Sir ji 🙏🙏✌✌
The way you explained is just AWSM .......THANK YOU SIR
True
What is your branch
achha ji. fir mujhe samjh do ki ye +1 kaise add kar rahe hain
I got confused how 110 came 11:02 can anyone explain? Sir said 101 me 1 add krke dekho toh 110 aaya but kaise , maine kuch miss Krdiya kya😢
binary no. me convert krne ka aasan tarika "play store me calc bin "converter aap download kre le jisse bhut easy hoga samjhne me bitwise operator😊😊
Your lectures is very useful for me sir, I want to practice more question but from where
Sir u are a genius.. u have uploaded all videos ,concepts for free. Thanks a lot. Salute to ur work. 😊
Easy explanation but in-depth also, doubt cleared , Thanks Sir
mujhe toh samjh hi nahi aaaya yrr
@@AnujkumarVerma-wo5vz skip kr do, utna kam nehi ayega, haa exam ma aa sakta ha...Bitwise operator k lia thoda Number System k bareme pata hona chahiye
Baki C programming sikhna ha to Neso Academy youtube channel se sikh lo,
Programming ka basic clear ho jayega, jo ki har programming language ma same ha
@@sayandeepsoren6554 kya iss channel se programing ka basics clear nahi ho sakta , aisa kyun ?
Best teacher ever for c programming
After the way you explained this whole topic it's like a piece of cake for me. Your teaching skills are on the top shelf. 💜
mujhe nahi samjh aya yrr ki ye +1 kar kaise rahe hain
Bitwise is complex. But practice makes its easy.
Ur videos are really helpful.Please make a video on c related aptitude ..Please sir.Thank you.
Great job sir,for all your videos
Great great great Job sir
sir your tutorial is the best tutorial from other,
thanks a lot sir for such a good vedio.
Spelling shi likhle pehle
Thanku so much sir 🙏
Your video lectures are really awesome and very helpful 👍
Thank you sir ji
Thank you sir for the video, it cleared my doubt
tu kya kar rha hai iss video ka?
Saurabh sir 1's compliment me 1 kis tarike se add karna hai wo samajh nahi aata ~ wala binary clear kare
ummid h 4 sal bad abto aap professional coder ban chuke hoge
how does 101 +1 becomes 110
prl Ag same query
@@marcmc_9831 for this u should know the knowledge of binary add...
@@shivamkrgupta8928 yes
Binary main agar hum 1+1 karte hai to vo 10 hota hai
Binary addition ka rules
1 + 1 = 0 carry 1
1 + 0 = 1
0 + 1 = 1
0 + 0 = 0
~5=-6
~6=-7
~7=-8
~8=-9
and so on
Arpit Bansal can you give me binary for 10000000000
1001010100000010111110010000000000
Thank you so much sir👌👌😊
sir,ager pahle koi number binary me diya ho to kaise pahchanege ki vo negative yaa positive ?
sir ,is output changes from compiler to compiler?
because i have turbo, n my output is 3.
Good explanation :) Thank you, Sir.
Please improve the video quality Saurabh sir. Atleast 720 pixels. I like watching your videos. Pranam
Sir kya aap btaa skte hai C language ka basic konse lecture tk hai muje only basic krna hai
Finally my concept is clear. Bhut time lga but, Thanks....
You are genius
Best sirG .I am 12th appearing student . But your videos , I can understand. I am also visited your website. Shiv Pratap.
Thank u sir, u r one and only one
~ operator is a unary operator and bitwise operator too then is it have higher priority than arithmatic operators???
too good sir....
thankyou so much.
superb sirji!
sir how it is possible
in reverse it should be come 5 not 6 because original no is 5 not 6.
very good explanation thank you sir
sir how you know the binary no. of 12 is 00000000000000000000000000001100
and how you know 2'S IS -13
Dear, u should have knowledge about binary system. Actually in this system every 1 represents 2 and position of 2 from right represents power on 2 after that add each of them together.
Here: 1100=2*2*2+2*2+0*0+0=12.
Hope u understand.
Bro 1100 12. me ydi 1 add karoge to according to binary 1101 13 aayega
Awesome🤘🤙🤘👍✌️👌🤘👌👌
Nice video sir you are doing great work :::)))
trick ~8 = -9
add 1 and then change sign
*Sir aap kaha tak padhe ho?*
A lot of thanks Sir!
What is 2's
Plz koi samjhaiye Two's compliment 2'5?????????? Plz
Sir thank you so much 🙏🙏🙏🙏🙏I love you sir💖💖💖
Big fan sir 😊😊😉
Thankyou SirG
Great work 👌👌
Sir input out put ke question o level ke level ke vedio provide krva dijiye exam se phle
fully confused in memory allocation in 16 bit,32 bit,64 bit operating system
sir iam rajat bhatt from kanpur sir aap kya digital electronics ke video develop karte hai agar nahi to sir pls aap koi us pe koi link bta de
sir can save in mind memory when x value is 12 so 12+1=13 so now need is this is plus or minus then convert first left binary digit and see this is minus or plus
sir we enter 2 than answer is -3 but if we type -2 than answer is 1 so why our answer is not 3
Sir 101+1=110 kaise ho gya?
my respected sir aapne bahut achha samjaya ...
bas ye *msb* (most significante byte) ka concept kyu hai or kaise hai ye samjado plz
sir agar ~~255 aisa hoga to kya krna padega?, and what is ~255
sir i dont understad how to say that 5's binary is -5's one complements? please sir explain it.
Sir u are great
Sir do u mean ~5=-6
i am also confuse yrr
amazing sir.
Sir please upload the program use bitwise oprator
I don't understand the meaning of 1's and 2's
Sir can you please guide about conversion of decimals to binary
visit www.mysirg.com and see computer fundamental videos.
Sir can u plz explain below code
Unsigned char X = 0;
Unsigned char y = -1;
Unsigned char result = 0;
result = +X;
Printf(" value of X is %hhu ", X);
result = ~y;
Printf(" value of y is %hhu ", y);
result = +X || ~y
Printf(" value of result is %hhu ", result);
Output is :
value of X is 0
value of y is 0
value of result is 1
When I am assigning value separately to result, output is 0 but same values with OR gate is resulting as 1. How is this working ?
Plz. explain about 101+1=110?
codeBlocks jisme int ki value 4 aati hai thanks to guide...sir
Sir don't understand how binary with MSB 1 is negative. As binary of 82 is 1010010
1 is not the MSB of 1010010 as in 16 bit it will be stored as 0000 0000 0101 0010 so MSB is 0 also in 32 bits there will be 0 in MSB.
Can we generalise that to find not bitwise operator of any number we have to add 1 and change its sign? For example for a its -(a+1)
how to open header and library files
sir isme & kyo nai lagye x k sath
where can i learn about binary numbers in datail ?
i can't unaderstand the video plz help anyone
Thanks a lot sir😊
Watching your videos kills my depression 😀
how do we write 2's complement ?
Sir in my laptop's code blocks getch(); is showing error,what should I do?
Sir when we add ➕1 in 1's compliment then it become 2's compliment but my question is after adding +1 in 1's compliment then all 0 Becomes 1 but what will happen in 1 that already in 1's compliment
When we take 1's complement of a no then all 0's got changed to 1's and 1's got to 0's and then add 1 to that result by binary addition rules you will find your answer correctly
if we write int x;x=~-13; so the output is 12. so what is the process of it??
i am also too confuse yrr. if your doubt has been clear then please help me
sir as u tell in ur bitwise NOT operator lecture that in any binary representation if the no. have 1 in MSD then that no. is negative
but the binary of 9 is 1001 but this is a positive no. and MSD is 1 also
No, you are only considering the last four binary digits, 9 is stored as 0000 0000 0000 1001 in 16 bits so MSB is 0 not 1.
Sir . How can I get binary of any number?
Kaafi books m Bitwise operator hi nahi diya gaya h..Is it neccesary to read it ?
sir apne kuch ese terms use kiye jese ki 2;s compliment ye beginners ya non-cs branchers ko samaj nahi aya.......rest the video is great thnkyou
14:00
Sir jab aapne 101 me + 1 kiya to 110 kaise ho gaya jabki 1100 me +1 kiya to 1101 aaya joki samajh me aata hai . Please explain sir .
Simply
~x=-(x+1),x is a positive integer
sir agar mai unsigned int x=~1; to kya print k
hoga sir
where are library files in c
Sir, Kindly use a writing pad or stylus.
ram ram mysirg
So does it mean y= ~x = -(x+1) ?
Ab tak toh sab samaj raha tha , par is video ne bohot confuse kar diya.
Frustrate ho gaya hu.
Binary no. mein sirf 1 or 0 hote hai ,to iska 2' kaise ayega , kya keh rahe hai sir .
Plz help karo mujhe rona aa raha hai. Bohot complex hai ,
101 mein 1 ad karne se 110 kaise aya????
2's compelment is a method to store negative binary number.
Binary number ka addition decimal ke jaise nhi hota hai, it has certain rules.
1+1=0 but 1 gets carry to the left binary number. Isliye 101+1 me right wala 1+1 to 0 ho gya lekin uska 1 carry ho gya left wale means middle wale me to vo 1 ho gya or sabse left wala to 1 tha hi.
Also, in binary addition 1+0=0, 0+1=0, 1+1=0(1 gets carry to left)
@@ntjfjeke83838 thanks bro
sir isko programming me use kyu krty hain