Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.
Optimism is an occupational hazard of programming: feedback is the treament.
- Kent Beck
Function Parameter Evaluation Order
Friday, June 24, 2005 by digitalpeer
It's worth noting that parameter expressions are evaluated like everything else from right to left. Of course, this only matters when passing at least one argument expression to a function that may change the value of another argument.
#include <stdio.h>
void func(int a, int b, int c, int d)
{
printf("%d %d %d %d\n",a,b,c,d);
}
int main()
{
int x = 0;
func(++x,++x,++x,++x);
return 0;
}
Results in the following:
4 3 2 1