Answer Posted / clay
Here,
After char *p;
since pointer p is not initialized it is pointing at some
unknown location.
In the next step, the address of the memory allocated by
malloc() is stored at some garbage location pointed by p.
Here p is never initialized or never assigned any value.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is output redirection?
Explain what is the difference between a free-standing and a hosted environment?
Compare array data type to pointer data type
Why is C language being considered a middle level language?
List the variables are used for writing doubly linked list program.
Who is the founder of c language?
What are categories used for in c?
Where does the name "C" come from, anyway?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Is return a keyword in c?
Can we initialize extern variable in c?
What are lookup tables in c?
Whats s or c mean?
can anyone please tell about the nested interrupts?