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

Answer Posted / fathima2407

a++=5+1=6;
++a=1+5=6;
output=12

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program for reverse a given string?

1613


i want to know details about SBI bank exam and date when to apply and what is the eligibility and the model papers related to it and various post available for Engineering in Information Technology.

1528


to which generation of prog. languages does ai prog languages belong

1865


how am i supposed to convert a class program in C++ to Matlab? Do i also need to make classes in matlab too or I can do it without making classes???Can somebody help....

1328


please provide me the type of questions or question pattern of bally.

1507






How does Earthquake-proofing work?

640


I an doing Engineering in IT(4th year). i want to know what is the scope or .NET and Linux, and which is better for carrier

1364


Hello sir i finished my BE computer 2009 batch. I'm not gud at programming like 0 knowledge and i'm not interested in it too . Except this programming field is anyother option to afford into a new one ??????? can anyone help me plz

1602


Client server applications

1168


how the aeroplane protected from the lightening?

1678


Please mail me the sample papers of PNB for the post Dy. Manager.

1383


what is the difference between composite key and primary key in sap abap

2122


Whet is KCFT and difference between CFM and KCFT

1422


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

1455


Please send us a brief description why do you think you can fit to the role

3345