I have already tried using sizeof(a)/sizeof(a[0]) this returns value 0.
I have also tried sizeof(a)/sizeof(Employee) this also have same issue
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct Employee_Details
{
long int Emp_id;
char Emp_name[200];
char Emp_city[200];
} Employee;
int main()
{
Employee *a = (Employee *) malloc(10 * sizeof(Employee));
int n = sizeof(a);// this should return size of array a =10
// but it returns 4
printf("%d", n);
free(a);
return 0;
}