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
Why is this loop always executing once?
What is binary tree in c?
What is the difference between a function and a method in c?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Write a Program to accept different goods with the number, price and date of purchase and display them
Write a simple code fragment that will check if a number is positive or negative.
What is fflush() function?
What is variable declaration and definition in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
how do you execute a c program in unix.
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What are the disadvantages of c language?
What is pointers in c?
What are the disadvantages of external storage class?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.