C size of function



Calculate Size of Function in C Program

Size of all local variable declared in function
                  +
Size of global variables used in function
                  +
        Size of all parameter
                  +
Size of returned value if it is an address
-----------------------------------------------------
            Size of function