Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas naresh i technology c language

by ASdfknjhmkgtrAWE
46 comments



Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas ** For Online Training Registration: ▻ Call: …

Images related to the topic naresh i technology c language

Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas

Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas

Search related to the topic Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas

#Modify #Operators #Technical #Interview #Questions #Answers #Srinivas
Modify Operators | C Technical Interview Questions and Answers | Mr. Srinivas
naresh i technology c language
See all the latest ways to make money online: See more here
See all the latest ways to make money online: See more here

See also  ICT 1st year B.ed notes in Hindi for All university education technology b.ed notes

Related Posts

46 comments

Adarsh Raj Jaiswal 28/09/2021 - 11:32 PM

22

Reply
Parnika Tutorials 28/09/2021 - 11:32 PM

a value is 19, b is 9

Reply
Amil Ali 28/09/2021 - 11:32 PM

Sir answer is 9 and 19

Reply
gopal tiwari 28/09/2021 - 11:32 PM

Wrong,final value should be a=19 & b=9

Reply
Shubham Sharma 28/09/2021 - 11:32 PM

Bsdk galat hai

Reply
commander msv 28/09/2021 - 11:32 PM

i=4;
j= ++i*i++;
i calculated by your method j=25 but compiler giving j=30.
help!!!!

Reply
Amar Mittha 28/09/2021 - 11:32 PM

Why answer becomes 19 9 why +1

Reply
Praveen Naik 28/09/2021 - 11:32 PM

main()
{
int z, x=5, y=-10, a=4, b=2;
z=x++ – –y * –b / a;
printf("%d ",z);
}

Output will be 7, how?

Reply
shashank singh 28/09/2021 - 11:32 PM

Sir, your approach for solving these questions is wrong.
Use associativity and precedence for correct approach…
I am also a you tuber, pls go through my videos
Thanks
https://www.youtube.com/channel/UCNKMGnrCG_nQHCHpEJpjy0w

Reply
Mohammad Sujon 28/09/2021 - 11:32 PM

Sir, in first expression a = 4 and b = 9. And second expression a = 19 and b = 9.

Reply
Medha Saha 28/09/2021 - 11:32 PM

Output is 20 and 9.

Reply
raj pra 28/09/2021 - 11:32 PM

Solving with right method, we get 20,9 answer

Reply
Ganapaka Akash 28/09/2021 - 11:32 PM

It depends on compiler

Reply
Uddipta Mondal 28/09/2021 - 11:32 PM

Sir, I think there is a problem in calculation. When I calculated myself I got 19, 9. And after compiling I got the same as output from my machine. Would you please explain?

Reply
Aman Gupta 28/09/2021 - 11:32 PM

In today's compiler the concept used by sir is not used….. modern IDE includes ATOM,CODE BLOCK which uses GCC COMPILER and they have entirely different concept to solve this problem IF U WANT TO LEARN THAT CONCEPT I WILL recommend

you to go through this youtube channel they have modern concept and easy way for understanding whole concept https://www.youtube.com/watch?v=yRt-zYFJIvE&t=234s

Reply
Ravula Manjula 28/09/2021 - 11:32 PM

The answer must be 9,20 .

Reply
UTKARSH PAREKH 28/09/2021 - 11:32 PM

Sir,as different compilers uses different method for solving this equation.so we student are confusing right now because our answer is not matching with your answer…yet you are right in solving this..but then also we are not getting so make a video to tell us difference of compiler to compiler…and which one is valid method to solve this equation…..plz reply sir…..

Reply
Narasareddy Mule 28/09/2021 - 11:32 PM

Video visual clarity ledu ra

Reply
Shaik Maksood 28/09/2021 - 11:32 PM

Sir its wrong actually ans is a=19,b=9

Reply
vaibhav ambekar 28/09/2021 - 11:32 PM

Ans is wrong ,it is 19,9 in both 32 bit and 64 bit compiler

Reply
Rahul Jathar 28/09/2021 - 11:32 PM

Turbo c compiler ans is : 18,8
gcc compiler ans is : 19,9
output is depend on your compiler (software)

Reply
Kiran BS 28/09/2021 - 11:32 PM

Answer is wrong !! …wrong explanation

Reply
Amit Kumar Mahapatra 28/09/2021 - 11:32 PM

int i=5;
printf("%d %dn", i, i=i++) ;
printf ("%dn", i);
i=i++;
printf ("%dn", i);

I am getting output as
5 5
5
6
Why there is no change inside printf statement but outside printf there is a change!!!
I compiled this in turbo C compiler

Reply
Hatred Knight 28/09/2021 - 11:32 PM

Listen all java is better than c

Reply
sujatha sivakumar 28/09/2021 - 11:32 PM

super sir.

Reply
Lakshmib Maddasani 28/09/2021 - 11:32 PM

He is completly wrong
Its output is a=20; b=9; i executed in jdk

Reply
ANANDARAJ A 28/09/2021 - 11:32 PM

19 , 9 only boss

Reply
Technical Sam 28/09/2021 - 11:32 PM

i got the answer 19,9

Reply
jai rithik 28/09/2021 - 11:32 PM

I got result as same result of you nice one tq

Reply
DEVASHISH KUMAR 28/09/2021 - 11:32 PM

thnx .

Reply
T U S A R BEHERA 28/09/2021 - 11:32 PM

wrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrooooOooOoOonGGGGGGGGGGGGGGGGGGGG

Reply
Anjana Manoj 28/09/2021 - 11:32 PM

Thankyou sir

Reply
CHANDAN giri 28/09/2021 - 11:32 PM

Thanks sir you are fabolous fantastic stunning

Reply
prajwal km 28/09/2021 - 11:32 PM

Sir you have gone wrong here. Answer for a = 19 and b = 9.

Reply
jaggina divya 28/09/2021 - 11:32 PM

answer is 19 and 9 sir u went wrong

Reply
Anish kumar 28/09/2021 - 11:32 PM

18, 8 is correct answer

Reply
it's heaven 28/09/2021 - 11:32 PM

That's the only place where I learnt a lot…. Tysm sir

Reply
Dev Bisht 28/09/2021 - 11:32 PM

galat padhaane se acha plzz dont upload videos i tried solving,, method hi glat hai

Reply
Nagendra Mishra 28/09/2021 - 11:32 PM

this method is wrong for solving expression

Reply
shiva kuchana 28/09/2021 - 11:32 PM

Hi Sir. Can you explain how it will print 5 here.
V1=2, V2;
V2=V1++ + V1++;
printf("%d", v2) ;

Reply
tapanjeet roy 28/09/2021 - 11:32 PM

thanks a lot sir…

Reply
Joseph Daniel 28/09/2021 - 11:32 PM

Hi op comes 19 9 please upload again

Reply
Megha Syam 28/09/2021 - 11:32 PM

prgram gave 19 9 as output

Reply
Andrew 28/09/2021 - 11:32 PM

Hello , using Code:blocks and the OP: of the program is :19,9
Can you please give us a feedback why we are getting diffrent results?

P.S kepp up the good work 🙂 !

Reply
Gameplay 28/09/2021 - 11:32 PM

Sir please verify , Is this right ?
I wrote the same code and got O/P 20 and 9

Reply
Shifa Sultana 28/09/2021 - 11:32 PM

#include<stdio.h>
int main()
{
int i = 1;
printf("%d %d %dn", i++, i++, i);
return 0;
}
sir wat is d output of this

Reply

Leave a Comment