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
malloc()
free()
calloc()
realloc()
Using malloc() without free()
Using calloc() without realloc()
Using pointers incorrectly
None of the above
stdio.h
conio.h
stdlib.h
None of these