Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Undefined argument processing order in C
//gcc 7.4.0 #include<stdio.h> int main() { int i = 1; printf("%d %d %d\n",pr(++i),pr(i++),pr(i)); // 3 1 1 i=1; printf("%d %d %d",++i,i++,i); // 3 1 3 return 0; } int pr(int v){ printf ("arg: %d\n",v); return v; }
run
|
edit
|
history
|
help
0
2
strcat
TeleBook2
150109_RecursividadFactorial
Lab 11 v.05
Galgotia university
quicksort guía 4
11
Good
WAP in C to convert decimal to binary