General Questions

Question 1 :

How will you free the allocated memory ?


A). remove(var-name);
B). free(var-name);
C). delete(var-name);
D). dalloc(var-name);
Answer : Option B

Question 2 :

What is the similarity between a structure, union and enumeration?


A). All of them let you define new values
B). All of them let you define new data types
C). All of them let you define new pointers
D). All of them let you define new structures
Answer : Option B