C PROGRAMMING
Show what each of the following statements prints. If astatement is incorrect, indicate why.
a) printf( “%-10dn”, 40000 );
b) printf( “%cn”, “This is a string” );
c) printf( “%*.*lfn”, 8, 3, 3124.981654 );
d) printf( “%#on%#Xn%#en”, 17, 17, 1008.83619 );
e)printf( “% ldn%+ldn”, 7000000, 4000000 );
f) printf( “%10.3En”, 454.93738 );
g) printf( “%10.3gn”, 464.93738 );
h) printf( “%dn”, 10.937 );
Expert Answer
An answer will be send to you shortly. . . . .