main() { int i=7; i = i++*i++; printf("%d\n",i); i=7; printf("%d %d\n",i ,i++*i++); i=2; printf("%d %d\n" ,i, i++*++i*i++*i++); i=1; printf("%d %d %d\n", i, i++*i++ , i++*i++*++i*i++); i=1; printf("%d %d %d\n" ,i, i++*i++, i++*i++*++i*i++*i++*++i); } Hello friends, I am having a huge doubt in increment and decrement operator and don"t know really how it works.. Can anyone explain me the flow clearly???? How the value assigns for i in a step by step manner...
9/5/2018 5:20:48 AM
Dhiviya Thirumavalavan4 Answers
New Answer// Zohir Thank u my friend.. I had clarification about the increment and decrement operator and how it works in above code.
// Zohir https://code.sololearn.com/cXyozL2MLpGu/#c I inserted the code here.. If you know about it means solve and say.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message