1 votes 1 votes Programming in C programming-in-c + – CHïntän ÞäTël asked Jul 30, 2018 CHïntän ÞäTël 208 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes replace (&i)++ by (&i)+1 it will work. but what's the problem with (&i)++ ? (&i)++ ===> (&i) = (&i) + 1 ====> &i gives memory address (which is a constant), note that any constant can't be used as l-value. it's simply like 5 = 5+1 etc... for more understanding https://www.geeksforgeeks.org/lvalue-and-rvalue-in-c-language/ Shaik Masthan answered Jul 30, 2018 Shaik Masthan comment Share Follow See all 0 reply Please log in or register to add a comment.