what is the difference between postfix and prefix unary
increment operators?
Answer Posted / rukmanee
In prefix operator,the value of the operand increase by one
and then assign the new value to that operand and print
it.In postfix operator,the value of the operand is assigned
at first and then increment it's value by one.
This is the difference between postfix and prefix unary
increment operators.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Are there namespaces in c?
How can I manipulate strings of multibyte characters?
Is there anything like an ifdef for typedefs?
How important is structure in life?
Explain what is the difference between text files and binary files?
Explain what is the concatenation operator?
How do you redirect a standard stream?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Why is c called a mid-level programming language?
How pointer is different from array?
What is a example of a variable?
How would you rename a function in C?
What is the difference between c and python?
What is null pointer constant?
How can you find the day of the week given the date?