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
What would be your first invention?
what is the use of typedef in c language?
how to count 4 column with two "and" condition in oracle? e.g task_type and cust_type and service_type are 3 column and we hv to count where task_type="new"and cust_type="jdp" and resulting column name will be new cust with jdp..and also we hv to count where task_type="new"and service_type="fs" resulting column name will be new cust with fs..
why u r shifting from engineering to other field ?
explain various object oriented programming fetures
how i run the assembly language code
what is node class?
hai im going to face ibps SO IT officers grade 1 interview. if anyone had an idea plz tel me expected and experienced questions and mail to anusha_k_anu@yahoo.com
what are differences b/w EIA 449 and EIA 530?
why not overloading -,=,_,\ operator
IS THE SAMPLE POINT OF LPG SPHERE TANK PEFOR OR AFTER BUMP?
WHAT IS THE NAMESPACE FOR CUSTOMCONTROL AND USER CONTROL IN ASP.NET?
C++ PROGRAM FOR FIBONACCI SERIES USING COPY CONSTRUCTER
what is the class of generator A b & c
plz plz help me "how can i face dell varcent round"....? plzzzzzzzz help me friends.....?