Answer Posted / splurgeop
malloc return an adress to the free memory..so we shud
store the adress i.e.
the above should be
char p=malloc(10);
| Is This Answer Correct ? | 1 Yes | 16 No |
Post New Answer View All Answers
What are local static variables?
Write program to remove duplicate in an array?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
Explain function?
How many types of operators are there in c?
What is a rvalue?
What does *p++ do?
can anyone please tell about the nested interrupts?
What is const volatile variable in c?
Where are the auto variables stored?
What is a sequential access file?
What is meant by realloc()?
What are header files why are they important?
Why is c so powerful?