main() { int i=10; int z; z=--i--; } this gives an lvalue required error ,what i want to know is when the post decrement gets executed then whether the expression should be --i or --10,as it is --10 thats y its givin lvalue required error but y is it so as if we increment or decrement using post or pre operator variable is updated not it is replaced by value.???
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.