#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
where is the first vidhyalaya of physically handicaped
computer is male or female.....???
What is your Job Profile in IT feild.
What is the meaning of "co relation" and what is the value of "co relation" in the performance testing environment.
Key difference between ip10 and ip20 of ceragon equipment?
I am getting the following error,when I am running the script, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. My Script: Itemname=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Print Itemname Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").Select "Itemname" Any Help? Thanks, Uma
pls send me the e-book for verbal and non verbal reasoning of R S aggarwall
How to select the total numbers of fire extinguisher installed in a room ?
how to prepare for an written exam for any type of company?
WRITE A C PROGRAM TO REVERSE THE LINK LIST WITHOUT CREATING NEW LIST?
I APPLIED SBIPO EXAM PLZ SEND ME THE INTERVIEW QUESTIONS AND GD TOPICS AND WRITTENEXAM QUESTIONS
how to use photoshop and some related websites?
I am looking for NIC Scientific Officer / Engineer-SB (Programmer)Sample papers or any portion of questions/ syllabus plz, send me on sengupta.pranab@gmail.com. Regards PRANAB
difference between java programming and c programming??
5. Tell me about a time you were able to successfully deal with another person even when that individual may not have personally liked you (or vice versa).