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
How is a pointer variable declared?
c program to compute AREA under integral
What is the most efficient way to count the number of bits which are set in an integer?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Combinations of fibanocci prime series
Why is main function so important?
Explain how do you print only part of a string?
What is static identifier?
How does pointer work in c?
What is fflush() function?
Explain the difference between exit() and _exit() function?
Write a program to reverse a linked list in c.
What is equivalent to ++i+++j?
write a proram to reverse the string using switch case?
Difference between exit() and _exit() function?