Page 1 of 1

C Programming > Structures, Unions, Enums

Posted: Thu Oct 02, 2014 11:25 am
by abdulsaboor
C Programming > Structures, Unions, Enums

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

Re: C Programming > Structures, Unions, Enums

Posted: Thu Oct 02, 2014 11:27 am
by abdulsaboor
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