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 modeling?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
related to rdbms query .
#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"maddimsetti"}; s1[]=s[]; printf("%s",s1[]); }
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
? ???Mirror Mirror on the wall????????
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
What are different types of pointers?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
i want to have a program to read a string and print the frequency of each character and it should work in turbo c
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....