how to get multipule input in C language?
===

I'm new in C and would love to get some help regarding multipule input 
for example I have this struct:

    typedef struct person{
        char * name;
        int age;
      }

and I want to write a function that get's :name age name age name age... <the amount is unlimited>
Is there a way I can do that ? how can I later get the values? 

I mean something like : 

    void my_func(char* name, int age , char* name1,int age1.....)
like in JAVA I can use "..." 

thanks!