In the program of any pointer variable we often use :
float *x;
x=(float*)malloc(a*sizeof(long int));
I want to know why we use (float*)
in front of malloc
?
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment