Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

print octal number in c

%d - to print value in int format.
%o - to print value in octal format.
%x - to print value in hexadecimal format (letters will print in lowercase)
%lx - to print value in hex (long int) format (i.e any number > 0xFFFFFFFF (8Fs))
%X - to print value in hexadecimal format (letters will print in uppercase)
Source by www.includehelp.com #
 
PREVIOUS NEXT
Tagged: #print #octal #number
ADD COMMENT
Topic
Name
5+4 =