How does the code 'printf("%d %d %d\n",(a,b,c));' work?
c
Solution
You have caused an undefined behavior:
This - `(a,b,c)` is evaluated as the last parameter, e.g. `c`, so the first printed number is 5 (`c = 5`) the other two are uninitialized parameters.
Problem
Consider: ``` #include "stdio.h" int main() { int a=3, b=4, c=5; printf("%d %d %d\n", (a, b, c)); } ``` And the result is: ``` 5 2280760 2281472 ``` What is the explanation?