C parameter passing sequence of printf in GCC & Turbo C
Que : Parameter Passing Sequence In GCC
#include<stdio.h> int main() { int a=10; printf("%d%d%d",a++,a++,++a); return 0; }
Output :
In Linux
12 11 13
In Window
12 11 11
Explanation :
- In Turbo C / Window Paramters are Passed from Right to Left in Printf Statement.
- In Linux This Scheme is different.