The differences between malloc( ) and calloc() are:
A. | Malloc is used for dynamic allocation of memory, while cal:1°c can't be used for that purpose |
B. | Malloc needs only one argument. while cal loc needs two. |
C. | unlike malloc, calloc allocates memory and initializes it to 0. |
D. | Both (b) and (c) |
Option: D Explanation : Click on Discuss to view users comments. |
The file that stores an integer as a sequence of characters is a
A. | Text file |
B. | Data file |
C. | Binary file |
D. | Core file |
Option: A Explanation : Click on Discuss to view users comments. |
If cat x. prints garbage. then x is probably a
A. | Data file |
B. | Binary file |
C. | Text file |
D. | Source file |
Option: B Explanation : Click on Discuss to view users comments. |