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 do I use strcmp?
What is the difference between declaring a variable and defining a variable?
What is the difference between constant pointer and constant variable?
Explain do array subscripts always start with zero?
Explain what is a pragma?
What is the general form of a C program?
What is bss in c?
Is it possible to have a function as a parameter in another function?
Why c is called procedure oriented language?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is the significance of c program algorithms?
What is a macro in c preprocessor?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
When should a type cast be used?
What is wrong with this declaration?