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 access an I o board directly?
what is ur strangth & weekness
How can I delete a file?
What is the difference between text and binary modes?
Describe the order of precedence with regards to operators in C.
What is the difference between single charater constant and string constant?
Write a program to print "hello world" without using a semicolon?
What is new line escape sequence?
Write a program to identify if a given binary tree is balanced or not.
How do you convert strings to numbers in C?
Explain the priority queues?
Why array is used in c?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Why pointers are used in c?
What is an lvalue in c?