stdio.h
conio.h
stdlib.h
None of these
Using malloc() without free()
Using calloc() without realloc()
Using pointers incorrectly
None of the above
malloc()
free()
calloc()
realloc()
Consider the following code and How many bytes of memory will be allocated?
int *ptr = (int *)malloc(10 * sizeof(int));
10 bytes
20 bytes
80 bytes
40 bytes