#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 / 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 |
What is The Need of Template?
write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a); } printf("%d",&a);
real time examples for basic concepts in oop
Tl me folder name that has been not changed
what's the difference between windows serevr 2003 or windows XP.
Full form of Abt Meter
Why Mother Board is called Mother Board & not Father Board?
12 Answers Microsoft, Precision Infomatic, SoftStream,
Are bridges more stable on concrete or on soil - why?
What is Campus selection process of patni at Adcet,Ashta at 24th dec 2010.Also give apti syllabus.
which/why unix commands are simpler rather than complex tasks
How to Define the defect density?
what things abutsbi
0 Answers State Bank Of India SBI,