Working of printf statement in C
I am just confused with the working of the printf statement that which one evaluate first because I have studied that comma separating the arguments acts like a separator and hence the order of evaluation of the arguments depends completely on the compiler ,so then here why the output on each compiler is "hellokill"
void func(int x, int y){}
main()
{
func(printf("kill"),printf("hello"));
getch();
}
So what is the reason that the right printf value gets printed here then left one executes.