1)
int i=5;
j=i++ + i++ + i++;
printf("%d",j);This code gives the answer 15.But if we
replace the value of the j then anser is different?why?
2)int i=5;
printf("%d",i++ + i++ + i++);
this givs 18.
Answer Posted / venu
i don't know the answer.
but here is the proble.
int i=5;
j=++i + ++i + ++i;
printf("%d",j);This code gives the answer 22.
How and What is the process?
| Is This Answer Correct ? | 62 Yes | 32 No |
Post New Answer View All Answers
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
write a simple calculator c program to perform addition, subtraction, mul and div.
What is full form of PEPSI
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
how to test pierrot divisor
Write a program to model an exploding firecracker in the xy plane using a particle system
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
How can you relate the function with the structure? Explain with an appropriate example.
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
What is data _null_? ,Explain with code when u need to use it in data step programming ?
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??
How to palindrom string in c language?
Design an implement of the inputs functions for event mode