so i'm doing some beginner code stuff with NSLog() function and i've noticed something particular:
log returns:
so why does "return 10,000;" exit with status 16? and "return 112541233;" exit with status 49? etc?
Code:
int main()
{
int x = 8;
float y = 10.5;
float z = x * y;
NSLog (@"iMac calculates that %d * %.1f = %.0f", x, y, z);
return 10000;
}
log returns:
Code:
2008-05-26 05:46:04.041 nothing[1672:10b] iMac calculates that 8 * 10.5 = 84
The Debugger has exited with status 16.The Debugger has exited with status 16.
so why does "return 10,000;" exit with status 16? and "return 112541233;" exit with status 49? etc?