Here a question I created for
testing my knowledge of pre and post increments. Hopeful it will be of some help to you in your studies. Let me know what you think of the question. Thanks
A) you will receive an Compile error because of statement on line 2
B) Program will compile and Run then print The value of i is :-100
c) You will receive a Run time error at line 4
D) Program will compile and run than print The value of i is :0
The Answer is B