Pass by reference equivalent for C language

What is the pass by reference equivalent for C? I'm very new to C and in C++ I can change the value in main by a changing a value in a function it calls to, but how to do that same way in C?
You have to use a pointer.
Topic archived. No new replies allowed.