How will you free the allocated memory?
Correct Answer: free(var-name)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
The keyword ‘break’ cannot be simply used within __?
What does argc and argv indicate in command-line arguments? (Assuming: int main(int argc, char *argv[]) )
Which is not a logical operator?
What declaration mean? int(*ptr)[10];
Which declaration is not supported by C?
In order to read structures/records from a file, which function will you use?
Following code snippet? int b = 5; main() { void addup (int b); int i; for(i=1; i<=5; i++) addup(1); return 0; } void addup (int b) { static int v1; v1 = v1+b; printf('%d ', v1); }
Which declarations of structures is/are valid? 1) struct node { int count; char *word; struct node next; }Node; 2) struct node { int count; char *word; struct node *next; }Node; 3) struct node { int count; char *word; union u1 { int n1; float f1; }U; }Node;
Which file header is to be included for file handling in a C program?
Given the following array: char books[][40]={ 'The Little World of Don Camillo', 'To Kill a Mockingbird', 'My Family and Other Animals', 'Birds, Beasts and Relatives' }; what would be the output of printf('%c',books[2][5]);?