Programming Languages C Objective
Jan 02, 2013

What will be the output of the following statements ?

int i = 1,j; j=i--- -2; printf("%d",j);

Choose the correct answer:
A) 2
B) -3
C) error
D) 3
Detailed Explanation

The out put of the program is 3 so the answer is d.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback