Increment and Decrement Operators in C - Part 2 - Operators and Expressions - C Programming

  Рет қаралды 36,497

Ekeeda

Ekeeda

Күн бұрын

Пікірлер
@Ekeeda
@Ekeeda 4 жыл бұрын
Hello Friends Please watch the updated version here - kzbin.info/www/bejne/ooawZ3hoi7KEaK8 Watch complete video series of subject Structured Programming Approach in C Programming only on Ekeeda Application. Download Ekeeda application to get 1000 Studycoins and use it to access free courses. Steps to follow:- 1. Download Ekeeda application from the link given below. 2. Sign up or Log in to your account. 3. You will get 1000 Studycoins worth Rs 1000. 4. Add the courses to your cart. 5. Select Study coins option to get free access. Android App : play.google.com/store/apps/details/?id=student.ekeeda.com.ekeeda_student iOS App : apps.apple.com/in/app/ekeeda/id1442131224
@suhaibqanooni5305
@suhaibqanooni5305 6 жыл бұрын
its a mistake if he put the value of c instead of a, an important thing is that to understand the concept.
@PramodKumarDRDOPsychologist
@PramodKumarDRDOPsychologist 6 жыл бұрын
Very nicely explained. Better than other videos.👍👍👍
@shubhamshrivastava5082
@shubhamshrivastava5082 7 жыл бұрын
Sir u r tooo awsm , now i have understand totally thanku sir
@KDnature
@KDnature 7 жыл бұрын
x=20+10+6=36 y=20+10+20=50 z=6+7+9=22
@affankhan-lz5bt
@affankhan-lz5bt 7 жыл бұрын
bro the value of z will be 19 (6+6+7)
@smartibharat6176
@smartibharat6176 6 жыл бұрын
Karthick Arima please explain this value of z to me
@edriangustincamacho3406
@edriangustincamacho3406 6 жыл бұрын
z = 6 + 6 + 7 .... please change this
@aniketdound8638
@aniketdound8638 6 жыл бұрын
z=7+7+7=21 in x equation c is changed from 5 to 6. please check
@klarisa1784
@klarisa1784 5 жыл бұрын
please explain the z part
@mddanishkhan1301
@mddanishkhan1301 4 жыл бұрын
Thnx sir it help me alot. I wasnt getting this even after watching lots of video on utube bt u make me understand this in ur first lecture. Once again thnx.
@mddanishkhan1301
@mddanishkhan1301 4 жыл бұрын
int a=3; Pf("%d",a++ * ++a); Sir according to ur logic o/p would be 16 bt when it coded on laptop the o/p is 15 even it is mention in book 15. Bt i didnt get what i am missing through ur logic. Sir kindly help me out plz.
@mddanishkhan1301
@mddanishkhan1301 4 жыл бұрын
Can any1 help me how it come 15 i got it bt when i apply the logic taught by sir then its ans is 16. What i am missing??.
@shivangianand6341
@shivangianand6341 7 жыл бұрын
how in second expression a will be 6 ??
@ANANDKUMAR-0807
@ANANDKUMAR-0807 6 жыл бұрын
i think he has taken value of c,but printed a.
@aashishkumarvitta9191
@aashishkumarvitta9191 4 жыл бұрын
video is very nice now i came to know about increment operators expression evaluation.
@josephdaniel6703
@josephdaniel6703 5 жыл бұрын
X=36,y=50,z=21... Please check
@rahulbind6986
@rahulbind6986 7 жыл бұрын
in second expression how could be value of a is 6..... in the same expression y= --a + --b + a++ , first u have taken the value of a is 20 then after this why could u sir take the value for a++ is 1. i have a doubt plllzzz solve this sir??
@Aryan-wv6qe
@Aryan-wv6qe 7 жыл бұрын
exactly bro but still people are commenting as best video .... Everything is okay except that value of y
@DASARITUTS
@DASARITUTS 7 жыл бұрын
I did this bro kzbin.info/www/bejne/fqfGiZ2rlM-BjbM&lc=z225slaiclz4ejni404t1aokgtmzsrse5u4a3vsbd4zcbk0h00410&feature=em-comments
@DASARITUTS
@DASARITUTS 7 жыл бұрын
I did this bro on increment/decrement operators.kzbin.info/www/bejne/fqfGiZ2rlM-BjbM&lc=z225slaiclz4ejni404t1aokgtmzsrse5u4a3vsbd4zcbk0h00410&feature=em-comments
@suhaibqanooni5305
@suhaibqanooni5305 6 жыл бұрын
the value of a was first incremented in finding x, then it is again decremented in finding y. so first it became 21 and then in finding y there is pre increment so the value should first decremented (from 21 to 20) then you have to use it. so the right answer for y is 50. thanks
@chrishigney7067
@chrishigney7067 11 ай бұрын
very helpful - better than my professor
@poojasaxena8534
@poojasaxena8534 7 жыл бұрын
Really good video.... Thanks sir
@abznews5199
@abznews5199 7 жыл бұрын
Sir I have One Question: When i am solve this Question then different C Compiler is Different Output Plz Explain it. #include #include void main() { int a=1,b; clrscr(); b=a++ + ++a + ++a; printf("%d %d",b,a); getch(); } Output in Turbo C++ 3.0 is : "b=9 and a=4". Output in Dev C++ 5.4.0 is : "b=7 and a=4". Output in Code Block 16.01 is : "b=8 and a=4".
@firozkhanagwan966
@firozkhanagwan966 5 жыл бұрын
Amazing sir Thank you so much for this video.. this is very helpfull video Thankyou...
@iamusmanshykh
@iamusmanshykh 7 жыл бұрын
you are a legend sir !!
@manthanpatel7271
@manthanpatel7271 7 жыл бұрын
what will be for Linux Based
@uttampandey8988
@uttampandey8988 7 жыл бұрын
according to this method the answer of int a=10; int c= a++ + ++a + a++ + ++a + ++a; cout
@prajwalramteke4229
@prajwalramteke4229 7 жыл бұрын
thank u sir...it really helped me
@itse1388
@itse1388 7 жыл бұрын
#include int main() { int a=10; int c = ++a + a++; printf("a=%d c=%d",a,c); } sir it output is a=12 c=23 but by solving manual i got ans a=12 c=22 so how the prgrm execute plz explan sir?
@amirulamir3059
@amirulamir3059 7 жыл бұрын
Thank you Sir. It helped me alot.
@deepakrkm1302
@deepakrkm1302 7 жыл бұрын
Very well explained Sir.Thank you very much.
@Ekeeda
@Ekeeda 7 жыл бұрын
@Deepak rkmThanks for watching video.Kindly appreciate our work and please give us some feedback about channel. Please review your comments on below links 1) www.google.com/search?q=Ekeeda&ludocid=0x3be7cef39a0bcb1f:0x695389d0b57989f4 2) facebook.com/pg/Ekeeda/reviews/ And for more information regarding to subject please visit ekeeda.com/
@patpeter8336
@patpeter8336 7 жыл бұрын
he made a mistake ofcouse , but u guys can correct it without any condemnation.
@shabafirdosh8917
@shabafirdosh8917 7 жыл бұрын
awesome vedio
@lakshmiranil
@lakshmiranil 6 жыл бұрын
Actual Output: Value of x = 36 Value of y = 50 Value of z = 22 Value of a = 21 Value of b = 10 Value of c = 9
@correcterror9770
@correcterror9770 7 жыл бұрын
Sir in second expression there is 'a' not 'c' then how u place value of c
@subratkishore192
@subratkishore192 6 жыл бұрын
Sir..In secondon expression,there is a mistake....the correct expression is y=--a + --b + c++;
@rishivarma2891
@rishivarma2891 7 жыл бұрын
int a=2,b; b= a++ + a-- + ++a + --a; printf("%d",a); printf("%d",b); for above question the output obtained is different from turbo.c and devc++
@raghumahadeva3013
@raghumahadeva3013 7 жыл бұрын
sir i have one doubt , could you please explain this question void abc(int a, int b){ printf("%d%d",++a,++b); } void main(){ int a=10; abc(++a,a++); abc(a++,++a); printf("%d",a); }
@ayushyadav-ug3df
@ayushyadav-ug3df 7 жыл бұрын
according to your technique y= x++ + ++x ; and y= ++x + x++ ; should give the same answer but the results are different. can you explain why?
@mohitshakya1128
@mohitshakya1128 6 жыл бұрын
why are you give wrong explanation nhi ata h to mat batao jabrdsti kyun kr rhe ho
@jmitra007
@jmitra007 6 жыл бұрын
Absolutely correctly 😃😃😃😃
@suryachakraborty2775
@suryachakraborty2775 7 жыл бұрын
The video help me a lot...but please solve a problem for me int a=10; b=a++ + a++ + a++; as per the said rule, post increment will be done at last,so 10 should be Placed before post increment; hence 30 is expected answer...but the answer is 33. Please clarify this thank you
@ashwinraj2077
@ashwinraj2077 5 жыл бұрын
thank u soooo much it really helped ....
@Ekeeda
@Ekeeda 5 жыл бұрын
Its our motto to make your studies easy! Download Ekeeda Application and use coupon code 'FIRSTTIME' and you will be able to watch any one subject free for one month Android:- play.google.com/store/apps/details?id=student.ekeeda.com.ekeeda_student&hl=en iOS:- itunes.apple.com/tt/app/ekeeda/id1442131224
@amansaxena9958
@amansaxena9958 5 жыл бұрын
@@Ekeeda soo please sahi se phadai apki values hi galat hai
@gaganbharadwaj7559
@gaganbharadwaj7559 7 жыл бұрын
sir I had some questions can I ask
@abhinavs2484
@abhinavs2484 7 жыл бұрын
how the value of *a* can be "6"?
@manishagumte9592
@manishagumte9592 6 жыл бұрын
Super
@NasriDevLab
@NasriDevLab 6 жыл бұрын
Thanks sir
@manav1310
@manav1310 7 жыл бұрын
Best video available on this topic, thanks. :)
@Ekeeda
@Ekeeda 7 жыл бұрын
Most Welcome, Always at your service, Kindly give us your worthy reviews as it will enable us to create more enriching videos in future and that will fulfill the educational needs of all. Click on following link and then on WRITE REVIEW to record your experience with Ekeeda www.google.com/search?q=Ekeeda&ludocid=0x3be7cef39a0bcb1f:0x695389d0b57989f4#istate=kp:xpd
@chandansatyam2299
@chandansatyam2299 7 жыл бұрын
in y expression replace last a value as c
@priyanshpatidar2750
@priyanshpatidar2750 7 жыл бұрын
a is 20 in second expression
@TheRock-zo7zl
@TheRock-zo7zl 7 жыл бұрын
best
@hardikjaggi700
@hardikjaggi700 7 жыл бұрын
A silly mistake is there sir in 2 nd one... Plz correct it
@kashyapsubbu7784
@kashyapsubbu7784 7 жыл бұрын
in expression box :- given - - a +- - b + a ++ = how we got a++ as 6 in y = 20+10+6* = 36 plse explain me someone
@sdj1162
@sdj1162 7 жыл бұрын
kashyap subbu ans is 50
@josephdaniel6703
@josephdaniel6703 7 жыл бұрын
Yes!!
@ALLINONE-tm8cs
@ALLINONE-tm8cs 7 жыл бұрын
Yessss even i have the same doubt
@yuvrajsandip3441
@yuvrajsandip3441 6 жыл бұрын
thats just a mistake .. he thought 'a' to be 'c'
@anandbali4656
@anandbali4656 5 жыл бұрын
Hello friends the value placed in second expression is wrong we will shortly correct it
@anandbali4656
@anandbali4656 5 жыл бұрын
Value of y=50
@26411bapul
@26411bapul 7 жыл бұрын
Wow! Awesome tutorial. Finally i got something valuable instead of getting random crap from other video. Thanks :) Only value of Y you wrongly updated.
@DASARITUTS
@DASARITUTS 7 жыл бұрын
I did this bro on increment/decrement operators.kzbin.info/www/bejne/fqfGiZ2rlM-BjbM&lc=z225slaiclz4ejni404t1aokgtmzsrse5u4a3vsbd4zcbk0h00410&feature=em-comments REPLY
@videosuperfastexpress675
@videosuperfastexpress675 6 жыл бұрын
A =6 galat hai ullu 😂😂😂😂
@uttampandey8988
@uttampandey8988 7 жыл бұрын
y=56. c nhi hai a hai expression me!!!
@Sudheerkreddy
@Sudheerkreddy 7 жыл бұрын
HI , i guess u made mistake for Y expression as it shows as in y at last as a++ but you took for c++ Correct me if i am wrong.!
@VinodRS01
@VinodRS01 5 жыл бұрын
Hello piece of bill gates.... whatever he said it's was good concept just he took a=6 by miss...dont judge .
@banothuramya6510
@banothuramya6510 6 жыл бұрын
y expression is wrong a++ is not equal to 6
@Sanjivkumar-gj3qu
@Sanjivkumar-gj3qu 7 жыл бұрын
answer is coming x=36 y=50 z=19
@affankhan-lz5bt
@affankhan-lz5bt 7 жыл бұрын
yes u r right
@prathap.karaka
@prathap.karaka 7 жыл бұрын
yes i also got same whats th problem with it every video are same
@RanjeetKumar-xg9rs
@RanjeetKumar-xg9rs 6 жыл бұрын
kyo kar rahe aisa chor do a =21 hai to a=6 kaha se aa gaya second statemet mai
@murderplays6678
@murderplays6678 6 жыл бұрын
y= - - a + - - b + a ++; are not y= 20 +10+6 = 36
@shilpachirag8109
@shilpachirag8109 7 жыл бұрын
Even though answer is wrong the way to reach answer is very easy ty
@kranthi9314
@kranthi9314 7 жыл бұрын
y value wrong
@vivek1990100
@vivek1990100 7 жыл бұрын
you posted this video in 2016 and did mistake in y expression ,,,,,,,,,,,,,,,,,but didnt corrected ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,if you cant tecll well stop posting videos ,,,,,,,,,,,,,
@patpeter8336
@patpeter8336 7 жыл бұрын
correct the mistake and stop abuse , why cant u post your program here and lets see
@jmitra007
@jmitra007 6 жыл бұрын
R8!!!
@vivek1990100
@vivek1990100 7 жыл бұрын
if you did correct in y express i would say best videos related to incement operator thanku,,,,,,,,,,,,,,
@kesarsingh9917
@kesarsingh9917 6 жыл бұрын
Looks like by mistake he has taken wrong values for a. He has taken value of c
@anchal5433
@anchal5433 7 жыл бұрын
is trick se answer alg hi aata:(
@uttampandey8988
@uttampandey8988 7 жыл бұрын
wrong method!!!
@videosuperfastexpress675
@videosuperfastexpress675 6 жыл бұрын
Takale
@shubhamtripathi8051
@shubhamtripathi8051 5 жыл бұрын
heheheh
@VishalSharma-lz6ky
@VishalSharma-lz6ky 6 жыл бұрын
wrong answere sir
@andredominicisip1196
@andredominicisip1196 6 жыл бұрын
Thanks for answering this bullshit of a lesson
@kattamanohar4615
@kattamanohar4615 6 жыл бұрын
Full wrongs waste
@divyanshshandilya2370
@divyanshshandilya2370 6 жыл бұрын
a =6 kaise ho gaya??!! 😑 agr nhi aata toh video mat banao pls...
@anandbali4656
@anandbali4656 5 жыл бұрын
If you can do the calculations along with me then you will u understand
@goutamyadav4400
@goutamyadav4400 6 жыл бұрын
ARE YOU CRAZY YOU DOING ALL EXPRESSION MISTAK AT FIRST SEE PROPER WAY THEN UPLOAD THE VIDEO
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Increment and Decrement Operators in C (Part 1)
10:55
Neso Academy
Рет қаралды 421 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,4 МЛН
Increment and Decrement Operators in C (Part 2)
15:39
Neso Academy
Рет қаралды 262 М.
Pointers and dynamic memory - stack vs heap
17:26
mycodeschool
Рет қаралды 1,5 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН