Python Function Inside Array Definition In C