Answer Posted / shashidhar murthy
malloc returns a pointer to the allocated space if required
memory is found, else, a null pointer is returned and
'errno' is set to indicate the error.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between exit() and _exit() function?
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
What oops means?
What is an identifier?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Why pointers are used?
Why does everyone say not to use scanf? What should I use instead?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Explain how do you sort filenames in a directory?
a program that can input number of records and can view it again the record
What functions are used in dynamic memory allocation in c?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is p in text message?
Why should I prototype a function?
Explain how do you convert strings to numbers in c?