/****
% U table shows the unsigned type
Int output format: % I, % d, % o % x
Float output format: % F, % E, % G
Double Output Format: % F, % E, % G
Char output format character: % C
Long output format character: % L
Long int output format character: % Li
Long Double Output Format character: % lf
Long long output format character: long INT: % llI
Short output format: Short INT: % Hi
**/
# Import <Foundation/Foundation. h>
Int int main (INT argc, char const * argv [])
{
Int year = 2013;
Nslog (@ "this year is % d Year \ n", year );
Nslog (@ "argc = % d \ n", argc );
Int I = 100;
Float F = 1.1;
Double D = 2.2;
Short int Si = 200;
Long long int LL = 12342342434234234213421l;
Char c = 'C ';
Bool B = true;
Bool BL = true;
Nslog (@ "I = % d size = % u Byte", I, sizeof (I ));
Nslog (@ "F = % F size = % u Byte", F, sizeof (f ));
Nslog (@ "d = % E size = % u Byte", D, sizeof (d ));
Nslog (@ "Si = % d size = % u Byte", Si, sizeof (SI ));
Nslog (@ "LL = % llI size = % u Byte", ll, sizeof (LL ));
Nslog (@ "c = % C size = % u Byte", C, sizeof (c ));
Nslog (@ "B = % d size = % u Byte", B, sizeof (B ));
Nslog (@ "I = % d size = % u Byte", I, sizeof (I ));
Return 0;
}