the format specified for hexa decimal is
a.%d
b.%o
c.%x
d.%u
Answers were Sorted based on User's Feedback
Answer / sri harsha
for hexa decimal %x,
for octal %o,
for decimal %d,
for unsigned int %d
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / manishsoni
i want to add something this :
hexadcimal mean 0-9 and a-f or A-F;
for the format spcifiere for 0-9 and a-f is %x
and the format spcifiere for 0-9 and A-F is %X
Manish soni MCA Ist sem rawatsar.
| Is This Answer Correct ? | 0 Yes | 0 No |
In a byte, what is the maximum decimal number that you can accommodate?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Are pointers integers in c?
What is the use of keyword VOLATILE in C?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
What is register variable in c language?
write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)
Is it possible to pass an entire structure to functions?
How can I access an I o board directly?
Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 Answers Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,
Write a c code segment using a for loop that calculates and prints the sum of the even integers from 2 to 30, inclusive?
Why c is procedure oriented?