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
What is the difference between NULL and NUL?
What is line in c preprocessor?
How old is c programming language?
Is void a keyword in c?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What is the use of header?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is a example of a variable?
What are register variables? What are the advantage of using register variables?
Whats s or c mean?
What is unary operator?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
How do you print only part of a string?
What does c mean before a date?