Lets write a C program to find out the size or the number of bytes occupied by pointer variables of…