Code for Uber using macros in C