C size of function

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