the question is to understand how the standards define or allow to handle these situations and what would be behaviour in this particular case wherein the variable undergoing post/pre increment is used in same statement as that of expression, when it is being used as argument to function call.
take for example following sample code
char a[SZ];
which of the following would be correct?
strlcpy(&a[i++],"Text",SZ-i-1);
strlcpy(&a[i++],"Text",SZ-i);
if the
"," comma
would used for computation of i++ or
";" semicolon
??