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
Can you tell me how to check whether a linked list is circular?
Write a simple code fragment that will check if a number is positive or negative.
How to declare pointer variables?
How can I read data from data files with particular formats?
Write a program to reverse a string.
what is reason of your company position's in india no. 1.
Does c have an equivalent to pascals with statement?
What is structure padding and packing in c?
What are lookup tables in c?
What is union and structure?
Is a house a shell structure?
What is getch c?
Is that possible to add pointers to each other?
Where are local variables stored in c?
How can this be legal c?