why is printf("%d %d %d",i++,--i,i--);
Answer Posted / rick g
if: i = (-1)
-1, -1, -1
(1) Print '-1', then post-increment i. i is now 0.
(2) Pre-decrement i. i is now back to -1. Print '-1'
(3) Print '-1', then post-decrement i. i is now -2
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
What is full form of PEPSI
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
Cluster head selection in Wireless Sensor Network using C programming language.
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
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 ?
write a simple calculator c program to perform addition, subtraction, mul and div.
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Write a program to model an exploding firecracker in the xy plane using a particle system
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
write a program for area of circumference of shapes