what is the output of following question?
int a=5;
printf("%d",a++ + ++a);
Answers were Sorted based on User's Feedback
Answer / 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 |
An inversion is an array of numbers is any pair (i,j) such that i<j and A[i]>A[j]. What is the average number of inversions in an array of n ? distinct numbers?
Write a function to print all the combinations of a string both uppercase and lowercase without altering the position of each letter.
What is Difference between the communication and transmission?
write a progremme using function 0f prime no.?
can any one send me the configuration of cisco 1841 router????/
I attended an interview with CGI last week for network engineer and here are the questions that might help you guys who are going to attend interviews.
what is the best thing in engineering?
Person who dicided to go to weekend trip should not exceed 8 hrs driving in a day. Average speed of forward journey is 40 miles/hour . Due to traffic in sundays ,in return journey average speed is 30mph . How far he can select a picnic spot ?
I want to know the relation between GI pipe ID, water flow rate in lpm, static head and friction head losses, motor kw for that flow etc.
Has anyone attended any interviews in IITs for the positions like Research Associates/Fellowships?
what will happpen when "MY COMPUTER" IS PERMANENTLY REMOVED FROM MY COMPUTER?
what are purchase order , sales order idoc names and idoc types
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)