Output 1.







Common format message output:

Formatting symbols conversion
%c character
%s string
%d Signed decimal integer
%u An unsigned decimal integer
%o Octal integer
%x Hexadecimal integer (lowercase 0x)
%X Hexadecimal integer (uppercase 0X)
%f Floating point Numbers
%e Scientific notation (lowercase ‘e’)
%E Scientific notation (capital “E”)
%g Short for % f and % e
%G Short for % f and % E

2. Input