I have some questions about memory allocation.
When we use malloc function as:
Does this mean that we are allocating memory space to data type "int" which is 7 times?Code:
Also as far as I know malloc function doesnot initialize the objects using any constructor nor it returns any type except for void.
Do we have to define malloc function inside the main() function?
I hope i am clear