what is the output of following question?
int a=5;
printf("%d",a++ + ++a);

Answer Posted / thapaswi

12

because

a++=5 then a will be incremented
a become 6

++a=7

answer will 5+7=12

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is VAT Account determination ? and how we can map in SAP ?

1555


what is the diffeence between SQL and ORACLE?

1377


I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is sumanadas10@gmail.com

1344


am looking for ms,i got ielts score 5.5,and i dont have english score 60 in any any year.tell me can i get offer lettr from any university.is i am elegible..?

1741


what are the various technique used for inter process communication?

1648






what is the difference between load bearing and non load bearing walls

929


Why does the 'divisibility by 3' rule work?

2636


why does a microprocessor generally hAVE more address lines than data lines?

1455


I am getting the following error,when I am running the script, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. My Script: Itemname=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Print Itemname Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").Select "Itemname" Any Help? Thanks, Uma

1752


sir/medam i had completed my B-TECH(CSE)2011 with 61%.i have to go USA for futhure studies.i dnt know what is steps for do futhure studies in USA so could you please tell me

1524


can any one please tell me what is mean by back papers,back log,historical standing ????????? this mean history of arrears is it correct or not.........

1983


what is buffer solution?

1652


explain various problem solving statagis

1569


What kind of question can be asked at the time of Interview for State Bank Of India Clerical Interview

1622


How to defaultly populate charges in Clear transactions window for Cash Management?

1406