answersLogoWhite

0


Best Answer

Here first, the value of variable is incremented/decremented , then the value of variable is taken for operation. For eg. :- Consider the following statements-

1. x=++y ; ( where y=10 )

After execution, value of x & y is -

x=11;

y=11;

Because first, the value of y is incremented by 1 and then assigned to x.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the working principle of prefix operators?
Write your answer...
Submit
Still have questions?
magnify glass
imp