Increment operator in C# (pre and post increment ) in Hindi | Pre and Post-Decrement Operator in C#
ฝัง
- เผยแพร่เมื่อ 8 ต.ค. 2024
- In this video you got a concept of Increment operator.
there are two types of increment operator
1st) pre-increment operator
2nd) post increment operator
#Play_My_New_Game
#Link_in_Description
play.google.co...
Connect On WhatsApp 🗨️ whatsapp.com/c...
If You Like it than Review it , It Motivates me Lot.
The Playlists for learning Unity3D Game development from scratch -
• Introduction to Unity ...
How to Begin With C# Scripting in Hindi ( Easy Way )-
• Unity C# Scripting Tut...
How to animate Characters in Unity ( 30 Minute Tutorial ) in Easy Way-
• 07 Animation of Dino i...
Make 3D View in 2D Games ( Concept of Parallax Scrolling ) in Hindi -
• 02 Parallax Scrolling ...
The Playlist to make Google Dino Game in HINDI -
• 01 How to make Google ...
Playlist to learn C# Programming from Scratch in HINDI in a easy way -
• c # for Beginners ( In...
Playlist to learn C Programming from beginning in Hindi ( In Very Easy Way ) -
• What does C/C++ means ...
Playlist Having LOGICS of C and Cplusplus Programming ( Questions asked in every Viva and Interviews) -
• Why starting index of ...
Difficult Questions on Increment and Decrement operator ( Generally asked in written interview Questions )-
• Pre and Post-decrement...
AND THERE ARE MANY SUCH VIDEOS PRESENT IN OUR CHANNEL , Which help you to grow very Fast from others.
Just SUBSCRIBE our channel and press the Bell Icon so all the videos that I post in a weak is come to You.
If You have any Query just ask it in Comment section , its my promise I reply You as soon as possible .
My Gmail ID - chaturvedisuryadev1@gmail.com
there are many questions in this which clears yours concept .
If you like the video then like it & SUBSCRIBE to our youtube channel.
Some tags--
How Pre and Post Increment and Decrement Operators Work
Overloading Decrement (--) Unary Operator in C#
If you got content help full
You can support Us any amount on UPI ID: *chaturvedisuryadev1000@okicici*
play.google.com/store/apps/details?id=com.LogicalProgrammer.GettingOverIt_AntiStressGame
My new game is released on depression Remove on play store and please give 🌟🌟🌟🌟🌟 to it , it takes my 2 months to make it.
And
there are many Logical Questions that are present in this channel, which improves your skills.
3D Game development playlist from beginning to end in Hindi-
th-cam.com/play/PLdOT12odxrUrUjDr-Cn96m2XDtvC45n2I.html
C Programming playlist with lots of logical Input/Output Questions -
th-cam.com/play/PLdOT12odxrUpp1kAViL2_zXtH4iKzProe.html
If you want to learn C#, Then watch this playlist in Hindi from beginning to end 👍🏻👍🏻
th-cam.com/play/PLdOT12odxrUoNQeRyIZtV9gEaKmK2YRD4.html
The most difficult topic in C/C++ Programming is to understand Increment and decrement operators, so have a watch( I promise you , you understand it very well) -
th-cam.com/play/PLdOT12odxrUp9S_9-vFkRG5Jwnm2UCkGw.html
If you face difficulty in Binary pattern printing , then watch this -
th-cam.com/play/PLdOT12odxrUqMMGBlG9svpPJa2GhFxho7.html
1) Why starting index of array starts with zero ?
th-cam.com/play/PLdOT12odxrUpPnyt0_pIExjcxEe0Q7pfd.html
2) Pattern Printing inC ( Like Heart shape pattern, smily face patterns,etc in Hindi)
th-cam.com/play/PLdOT12odxrUoKT8qECkq7X9DJ4jJ8S2L1.html
3) Many Input Output Questions-
th-cam.com/play/PLdOT12odxrUoJsiFMTY8zsRCunxtwAEu1.html
4)How to produce sounds in C-
th-cam.com/play/PLdOT12odxrUrkgVNApd7Pv1nQXrgni_Jz.html
5)Shift Operator in C-
th-cam.com/play/PLdOT12odxrUr71OvuS8-JcC4aXHZJckBS.html
6) Google Dino Game in Hindi in Unity-
th-cam.com/play/PLdOT12odxrUrzCwReJS7v0C5dG6Q7Uz_F.html
and many more...
a= 5
b=a++
b=++a
b=a
b=--a
b=a--
b= a=
Plz slow mee bri🙏
bhai tumhara wrong answer hai == int a,b=1 correct answer a=3 b=6 and your answer was a=3, b=5 how ??
Thanks Brother, after 1 week struggle I understood now...
Thanks Bhai .. 15 saal se clear nahi hua .. aaj ho gaya 😅
Pre increment pre increment me value a=3+3 hona tha according to your last video
Thank you so much bhaiya🙏
I had read this concept many times but was not able to understand and solve the question
But now I am able to solve the questions by myself.
To much easy technique 👌 💐
Increment decremwnt operator ke sath kam se kam 50 question solve wala video banaou nahi to bohot confuse ho raha he
Bro you teach very well
Keep it going and you will reach the sky.
Hello
Can you help me ,I have a doubt in operators
Thank you so much love you bhaiyaa🥰 pura clear hogeya concept
Sir your teching style is osm and very good teaching but practice is more important for us
Very nice video 🙏
Aapka bohot bohot shukriya.....itna accha se samjhaya apne ne.....love u bhaiya
Thanks for your feedback💖💖
play.google.com/store/apps/details?id=com.LogicalProgrammer.GettingOverIt_AntiStressGame
My 2nd game is released play it and give 🌟🌟🌟🌟🌟 to it , it takes my w months to make it.
And
there are many Logical Questions that are present in this channel, which improves your skills.
1) Why starting index of array starts with zero ?
th-cam.com/play/PLdOT12odxrUpPnyt0_pIExjcxEe0Q7pfd.html
2) Pattern Printing inC ( Like Heart shape pattern, smily face patterns,etc in Hindi)
th-cam.com/play/PLdOT12odxrUoKT8qECkq7X9DJ4jJ8S2L1.html
3) Many Input Output Questions-
th-cam.com/play/PLdOT12odxrUoJsiFMTY8zsRCunxtwAEu1.html
4)How to produce sounds in C-
th-cam.com/play/PLdOT12odxrUrkgVNApd7Pv1nQXrgni_Jz.html
5)Shift Operator in C-
th-cam.com/play/PLdOT12odxrUr71OvuS8-JcC4aXHZJckBS.html
6) Google Dino Game in Hindi in Unity-
th-cam.com/play/PLdOT12odxrUrzCwReJS7v0C5dG6Q7Uz_F.html
and many more...
hello sir your teaching is so good and so easily understantable but in this video initially you confused just because by writing content on wrong side
Bahot axha treqa ha pardhnay sir good
Thank you so much sir ❣️❣️❣️❣️🤗
Very nice
Sir Aapne last video me a=1,
B=++a + ++a=6 diya hua h but isme 5 diya h , usne Aapne phle last me value assign ki thi but isme next operator se phle value assign kar di .
Pls clear my doubt.
Because
Beginning me ham 2 operands per work kar rhe te or last me ham 3 operands per work kar rhe he.
Or jab
a=1;
b = ++a + ++a;
To a=3 hoga & b=5 ;
Please watch the video again & you clear your doubt.
Extremely helpful
No
Your channel is grow soon
You are great.
I am want to become a good Hacker .
Please make a video on hacking
Thank u sir
But, should follow right to left associvity right?
Ya bro I also think
Op🎉🎉
Bhot shi
👍
Sir but in turboc++ the answer came from b= a++ +a++ is a=3,b=2 why ?? Clear my doubt
Because Increment & Decerment operator is Compiler dependent.
Different Compiler Gives different answer.
In Code blocks it is different.
This is the concept of Visual Studio.
Yes u r right.. But if different compiler give different output than why we say C is standardised language? Juz a question with due respect
Sir apne tin tak bataya ki do ka bracket lekar chalege ,five increment operators rahega to kaise karege,do do bracket lekar chalege kya ,sir ye doubt mera clear kar dijiye
Ha tab bi do ka lekar chalege
@@LogicalProgrammer sir ,thanks for your answer , but sir galt aaraha hai
@@LogicalProgrammer a++ + ++a + ++a + a++ + ++a ,,ye combination jab kiye to galt aaya ,sir please solve this
@@LogicalProgrammer i have verified this in vs code sir ,thats why i am saying sir ,i have a proof
Sir please reply
Wow..... Very very nice video sir,
Thanks bro
If you like Game development then SUBSCRIBE to my channel & Support me.
Bcoz I starts Game development Course in Unity 👌
👍🙂
LOVE U YAR. IF U DON'T TEACH ME I WOULD GET FAIL IN MY EXARM
Welcome, if you think my tutorials helps you than share these with your friends that helps me.💖💖
If such kind of questions are asked in gate than what is the correct answer as codeblocks and visual studio gives different answers. Do they clarify it in the gate exam?
I also give gate exam and do all previous questions of gate.
They never ask a difficult question on this topic.
Can you give me difficulty lavel on a scale of 10 cause I am preparing for it
helpful
😘😘😘😘
Sunder
We are starting Game development in Unity in Hindi as soon as possible, if u interested in game development so Subscribe to our channel 🔔.
Sir i=3 and j=4
i++ - j - -
Whether the answer is 1 sir ..pls reply sir😣
answer is -1
Tuanku bhai 🔥🔥
Yehh bhai i got
Good bro🖒🖒🖒🖒🖒🖒
Thanks for your feedback💖💖
there are many Logical Questions that are present in this channel, which improves your skills.
1) Why starting index of array starts with zero ?
th-cam.com/play/PLdOT12odxrUpPnyt0_pIExjcxEe0Q7pfd.html
2) Pattern Printing inC ( Like Heart shape pattern, smily face patterns,etc in Hindi)
th-cam.com/play/PLdOT12odxrUoKT8qECkq7X9DJ4jJ8S2L1.html
3) Many Input Output Questions-
th-cam.com/play/PLdOT12odxrUoJsiFMTY8zsRCunxtwAEu1.html
4)How to produce sounds in C-
th-cam.com/play/PLdOT12odxrUrkgVNApd7Pv1nQXrgni_Jz.html
5)Shift Operator in C-
th-cam.com/play/PLdOT12odxrUr71OvuS8-JcC4aXHZJckBS.html
6) Google Dino Game in Hindi in Unity-
th-cam.com/play/PLdOT12odxrUrzCwReJS7v0C5dG6Q7Uz_F.html
and many more...
In did it in online GDP
X=14;
Y=- -x+ - - x
Ans Is y=24;
How bro
ya bro same I also do that on online GDB
in dev c++ 8:56 a=9 not a=8 ??
Because Increment and decrement operators are compiler dependent .
In this video I am explaining about Visual Studio and in another video I explained the concept in Code Block.
And dear Here I am explaining the concept of C# not C++.
I know you are disappointed, but this is true every compiler gives different results on solving these 2 operators.
Many developer says in C++ CodeBlocks become first choice and for C# Visual Studio, that's what I make tutorials on both.
@@LogicalProgrammer ok thanks
3:49 Bro how is a=1 here and b=2 ? i thougth the result would be vice versa,
i mean a=2, b=1. pls clarify
Explanation of your doubt-
In 1st question I write.
int a , b = 1;
a = b++;
and b++ is post increment operator, Jo apni value 1 step ke baad increase karta he.
means ( a= b++ ) vali line 2 steps me complete hogi.
1st) a = b;
2nd) b = b+1;
to is vajy se a = 1 and b = 2 hoga.
agr aapko confusion ho to aap ye video dekh li jiy beginning sirf, because Increment and decrement operators are compiler dependent ( Means alg compiler pr alg answer aata he .
but jo aapka doubt he vo basic he( Is question ka answer sare compiler pr same aayga).
The concept is explained according to Code Blocks Compiler-
th-cam.com/video/XKPPLdKZIYs/w-d-xo.html
bro if a=10 then b=++a + ++a + ++a answer is 39 not mathcing the rule
bro can u tell the solution plz
In this question.
The Compiler update the value of a one by one , at the end.
The value of a is 13 and puts every where where a comes.
And b = 13 + 13 +13.
b=39.
@@LogicalProgrammer thanks bro but so confusing rules
Ap is that ki video bna le or
😢
my ques
if a= 4
b = (++a) - (a++) + (++a) + (++a) - (- - a)
can anyone solve?
i don't think you understood but don't repeat it
in case of increment and decrement oparators the associavity rule is from right to left
In case of Pre - Increment and Pre - Decrement Operator the associativity is from -( Right to Left ) and in Case of Post -Increment and Post - Decrement Operator , the associativity is from Left to Right.
@@LogicalProgrammer what is the Associativity rule if there are pre and post increment opeartors?? Left to right or right to left??
@@shivaprasad3606
As per me it's Left to Right. How Question is Solved & I also Searched many websites but I can't found the perfect answer for both.
How I solved is from Left to Right, when both are present.
So that's why answer was incorrect
@@LogicalProgrammer
Bro dev c++ ma to ans different a rahy hain a ke value k dev c++ pa program ko run kr k dekhao
Because Increment and decrement operators are compiler dependent .
In this video I am explaining about Visual Studio and in another video I explained the concept in Code Block.
And dear Here I am explaining the concept of C# not C++.
I know you are disappointed, but this is true every compiler gives different results on solving these 2 operators.
Many developer says in C++ CodeBlocks become first choice and for C# Visual Studio, that's what I make tutorials on both.
Sir samja nahi aa raha tha