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 SEND ME NIC SCIENTIFIC OFFICER-2009 EXAM PATTERN AND QUESTION PAPERS
What would be the difficulties with building a bridge that connects the UK and Canada?
What are the differences between 1 dimensional RAM and 2 dimensional RAM?
how strcpy usingrecursive function
I want to test the applications installed on the client machine using the QTP installed on the server machine.But the requirement is like that client machines do not have there own CPU's they are just dummy workstations on which the applications are excesible.So where all places QTP should be insalled in theis client server architecture.How many licenses required of what type.Please explain in details .Its urgent. Thanks
Can you delink a payer from a bill to sold to ship to and then create a new payer on the existing bill to sold to ship to, this is where a pub or club changes licencees and we want to icolate the debt from the old owner but keep the sales history on the ship to/sold to
What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.
How can I boldly face the interview? Request:I am eagerly waiting for your replay.
what is disadvantages of waterfall model ?? industry used which model ??
how to delete four out of five duplicate records in a table using sql
int main() { int d = 10; int m = 2; int y = 3603; int c = 0; int val; val = ( d + m + y + (y/4) + c) % 7; cout << val; return 0; }
What is Campus selection process of patni at Adcet,Ashta at 24th dec 2010.Also give apti syllabus.
what is difference between shell commands and shell scripting commands or both r same?
which is the better form java or .net?exactly when we have to choose particcular 1 among them?
write a c programme to count the characters words and lines in a text book