the format specified for hexa decimal is
a.%d
b.%o
c.%x
d.%u

Answer Posted / sri harsha

for hexa decimal %x,
for octal %o,
for decimal %d,
for unsigned int %d

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi send me sample aptitude papers of cts?

1665


How can I invoke another program or command and trap its output?

628


how do you programme Carrier Sense Multiple Access

1530


What is #error and use of it?

693


What is the use of extern in c?

657






Is null always equal to 0(zero)?

602


What is the collection of communication lines and routers called?

624


How do I get an accurate error status return from system on ms-dos?

657


What is header file definition?

581


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

652


What does the characters “r” and “w” mean when writing programs that will make use of files?

866


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

621


How can you find the day of the week given the date?

629


Why static is used in c?

629


Is sizeof a keyword in c?

588