While calling the function how the output is 12 11 12? It will be helpful if anyone give me an explanation on how the priority works while calling the function?
My code
#include <stdio.h>
void prin(int, int, int);
int main(void)
{
int a=10;
prin(a,a++,++a);
return 0;
}
void prin(int a, int b, int c)
{
printf("%d %d %d\n",a,b,c);
}