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 technical voice process and define it

2536


what is the differance between a technology and an engineering ?

1609


What are the frequently asked technical engineer ques?

1420


anyone send me aptitude and technical placement paper of Hewitt

1388


what are the main points to be included in our introduction when asked in hr...??

1476






is the meter head is same as back pressure?

1619


How does C pass variables to a function ?

1597


How To Servers For Malitnationl Bank?

1433


the controller valve fisher error: travel ??? not output input ok

1380


y the range of char is between -128 to 127 only????

1313


The old welding machine use electro- -magnetic winding to step up the current for welding rods,what is new principle inside the welding

1042


WAP in Java to print the format A B A B C D E D E

1600


A rectangular sheet dimensions a x b is to be made into an open-topped box by cutting a square of side h from each corner and folding the 4 sides up. Find the value of h which allows the maximum volume of the box?

735


hi ,,,,I m going to attend corporate bank exam of specialist IT officer, I don't Know What type of question arise in interview..some suggest me my email id is surinder.singh.btech@gmail.com

1580


what is overflow and what are the conditions for which overflow possible?

2087