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
Explain how many levels deep can include files be nested?
Why cant I open a file by its explicit path?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is the difference between #include
What are control structures? What are the different types?
Explain indirection?
How is actual parameter different from the formal parameter?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What are local variables c?
What is meant by int main ()?
Using which language Test cases are added in .ptu file of RTRT unit testing???
show how link list can be used to repersent the following polynomial i) 5x+2
What is dynamic variable in c?
What is function prototype in c with example?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)