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
Is there a way to compare two structure variables?
Explain what are global variables and explain how do you declare them?
What do mean by network ?
What is an expression?
What does it mean when a pointer is used in an if statement?
How to create struct variables?
write a program to concatenation the string using switch case?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is mean by data types in c?
Explain how do you search data in a data file using random access method?
In C language what is a 'dangling pointer'?
Explain how many levels deep can include files be nested?
What is the difference between strcpy() and memcpy() function in c programming?
What is 02d in c?
What is the use of c language in real life?