On 06/03/2012 08:38 AM, Krzysztof wrote:
void afun(struct st *stp) { int liv=stp->iv++; printf("%d\n",liv); }
Should be: int liv=++stp->iv; of course for equivalence. -- Regards Krzysztof J. -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html