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 can I insert or delete a line (or record) in the middle of a file?
Why is c faster?
which type of aspect you want from the student.
What is the difference between NULL and NUL?
What is static and auto variables in c?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
How many bytes are occupied by near, far and huge pointers (dos)?
Why can arithmetic operations not be performed on void pointers?
Who is the main contributor in designing the c language after dennis ritchie?
Do you have any idea how to compare array with pointer in c?
Why do we use main function?
How does struct work in c?
Define Array of pointers.
Do array subscripts always start with zero?
What is main () in c language?