#include<stdio.h>
int main(){
int a=5;
printf("%d %d %d",a++,a++,++a);
return 0;
}..please explain me output 7 6 8..Thnx in advance
Answer Posted / abhijeet ankush gate rank 416
correct output is 766
explaination
printf function is right associative and starts reading from
right which is ++a.
in ++a value is 1st incremented and then printed
in a++ value is 1st printed and then incremented...
| Is This Answer Correct ? | 10 Yes | 11 No |
Post New Answer View All Answers
how will u recieve idoc
when will the group1&group2 exams will be held
why view is created in database
pls send me rrb se(s&t)questions
difference between java programming and c programming??
what is 16kHz use in GSM
synchronous and asynchronous transmission
What is ball bearing concept & its design.
Has anyone attended interviews in IITs for positions like Research fellowships/assistants? If yes, please share the experience about how complex the interview was, etc. etc.
what is the different between view and materialized view in oracle DBA?
HELLO EVERYONE ON YAHOO , I'M IN NIGERIA AND I Will LIKE TO MOVE AND WORK IN CANADA , ANY SKILLED WORK IS OK BY ME AND THE PERSON WILL PAY THE BILL FOR IT, I WILL SERVE THE PERSON FOR THE EXPENSES.......... LOVE TO READ FROM YOU SOONEST AS YOU WISH TO HELP ME OUT
what is the need of constractor explain with sutable progarmming example
WRITE A C PROGRAM TO REVERSE THE LINK LIST WITHOUT CREATING NEW LIST?
Please derive the formula for the area of a circle.
THERE iS ANY DEFAULT CONNECTION STRING FOR WINDOWS APPLICATION IN VB.NET2005 FROM WHICH AFTER CHANGING PROJECT DIRECTORY TO OTHER PLACE AND WE DID NOT CHANGE DATABASE PATH INB SQL CONNECTION ?????