What is sequence point in C language or in programing langauges? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is sequence point in C language or in programing langauges?

https://code.sololearn.com/czYFjj5jpuUb/?ref=app i got this above example on wikipedia but didn't understand the concept of it can someone explain in some what easy way thanks in advance

11th Feb 2018, 4:29 AM
Himanshu Motiramani
Himanshu Motiramani - avatar
2 Answers
+ 17
if U have written int j=i++; in place of int i=i++; then the value of i will get incremented
11th Feb 2018, 6:42 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
int i=1;i<3;i++;😀 if i<3 you should put "i<3" to make "i++" work.When you describe the condation where "i" is less then "3" then increment get triggred and increse 1 --2 https://code.sololearn.com/cCEv5TMv2POF/?ref=app
11th Feb 2018, 4:56 AM
Sudarshan Rai
Sudarshan Rai - avatar