C Programming Storage Management 1 Online Exam Quiz
C Programming Storage Management 1 GK Quiz. Question and Answers related to C Programming Storage Management 1. MCQ (Multiple Choice Questions with answers about C Programming Storage Management 1
In function free(p), p is a _______
Options
A : int
B : pointer returned by malloc()
C : pointer returned by calloc()
D : pointer returned by malloc() & calloc()
void * malloc(size_t n) returns?
Options
A : Pointer to n bytes of uninitialized storage
B : NULL if the request can be satisfied
C : Nothing
D : None of the mentioned
Which of the following is used during memory deallocation in C?
Options
A : remove(p);
B : delete(p);
C : free(p);
D : terminate(p);
Memory allocation using malloc() is done in _________
Options
A : Static area
B : Stack area
C : Heap area
D : Both Stack & Heap area
calloc() returns storage that is initialized to.
Options
A : Zero
B : Null
C : Nothing
D : One
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Programming Questions Static Variables
C Programming Random Number Generation 1
C Programming Self Referential Structures 1
C Programming Sizeof Keyword 1
C Programming Sizeof Keyword 2
C Programming String Operations
C Programming Variable Length Argument