I don’t think the previous answer is any good at all. Do check up on your programming skills because what you are doing is creating another function prototype instead of calling the function glutInit. I assume your main function looks like this:
You only have to pass the main arguments to glutInit. Notice the ampersand with argc. It’s because glutInit takes 2 pointers as arguments, only the 2nd one is already a pointer.
Good Luck.