State Function Vs Path Function Examples In C