When you call malloc() to allocate memory for a local
pointer, do you have to explicitly free() it?
Answer Posted / guest
Yes you have to.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
what type of questions arrive in interview over c programming?
Who developed c language?
What are the key features in c programming language?
Explain the difference between exit() and _exit() function?
How can this be legal c?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
When we use void main and int main?
How do you convert strings to numbers in C?
What is a program?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
how we can make 3d venturing graphics on outer interface
What are the primitive data types in c?
Can we use visual studio for c?
How many levels of pointers can you have?