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 |
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
0 Answers Aegis, CDAC, Infosys,
Write code for finding depth of tree
What is action and transformation in spark?
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
main() { int i=5; printf("%d%d%d%d",i++,i--,i); }
what is the advantage of function pointer
16 Answers CMC, CS, Freshdesk, L&T, LG Soft, Matrix, TCS,
array of pointer pointer to array pointer to pointer
What is the role of && operator in a program code?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the relation between # and include<stdio.h>
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Explain the difference between ++u and u++?