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 |
What is time null in c?
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Write a C program that reads a series of strings and prints only those ending in "ed"
List the difference between a "copy constructor" and a "assignment operator"?
What are bit fields? What is their use?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
How can I insert or delete a line (or record) in the middle of a file?
what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }
What is double pointer?
what is a pointer
4 Answers Bank Of America, TCS,