hi i have this program i wanted to know what int* is doing. i know that if i enter a number. it will be (y*int) for example if i enter 4 it is. 4X4=16. because int has 4 bytes and entering 4 marks. int has 4 bytes.
so my question is what is int* doing. also how can i printed out the size of the dynamic memorry
Code:#include<stdio.h> #include<conio.h> #include<stdlib.h> main() { int *marks; int y int t; printf("enter the mark); scanf("%i",&y); marks=(int*)malloc(y*sizeof(int)) //what is int * doing why does it equals to mark }