0
Why and when evaluates from left to right
#include<stdio.h> void test_function(int x, int y, int z) { printf("The value of x: %d\n", x); printf("The value of y: %d\n", y); printf("The value of z: %d\n", z); } main() { int a = 10; test_function(a++, a++, a++); } Output The value of x: 12 The value of y: 11 The value of z: 10
2 Antworten
0
But in which cases our left to right evaluation occurs if the compiler of c has a ability to evaluate from left to right if need ?